aboutsummaryrefslogtreecommitdiff
path: root/src/meta1parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/meta1parse.c')
-rw-r--r--src/meta1parse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/meta1parse.c b/src/meta1parse.c
index 4b2fccb..528a80a 100644
--- a/src/meta1parse.c
+++ b/src/meta1parse.c
@@ -296,6 +296,8 @@ meta1_translate_node (struct grecs_node *node)
296 size_t len; 296 size_t len;
297 int err = 0; 297 int err = 0;
298 298
299 if (node->type != grecs_node_block)
300 return 0;
299 comp = component_create (node->ident); 301 comp = component_create (node->ident);
300 for (stmt = node->down; stmt; stmt = stmt->next) 302 for (stmt = node->down; stmt; stmt = stmt->next)
301 { 303 {
@@ -309,7 +311,7 @@ meta1_translate_node (struct grecs_node *node)
309 } 311 }
310 312
311 comp->privs.allgroups = 1; 313 comp->privs.allgroups = 1;
312 comp->dir = META1_QUEUE_DIR (); 314 comp->dir = grecs_strdup (META1_QUEUE_DIR ());
313 comp->redir[RETR_ERR].type = redir_file; 315 comp->redir[RETR_ERR].type = redir_file;
314 comp->redir[RETR_ERR].v.file = NULL; 316 comp->redir[RETR_ERR].v.file = NULL;
315 len = 0; 317 len = 0;

Return to:

Send suggestions and report system problems to the System administrator.