67 fprintf(stderr, "Error: initconf_parse: directive is null\n"); |
67 fprintf(stderr, "Error: initconf_parse: directive is null\n"); |
68 return 0; |
68 return 0; |
69 } |
69 } |
70 d->begin = begin; |
70 d->begin = begin; |
71 d->end = end; |
71 d->end = end; |
72 if(d->type_num == 6) { |
72 if(d->type_num == INIT_DIRECTIVE) { |
73 conf->directives = ucx_list_append(conf->directives, d); |
73 conf->directives = ucx_list_append(conf->directives, d); |
74 } else { |
74 } else { |
75 fprintf(stderr, "Warning: Non Init directive in init.conf\n"); |
75 fprintf(stderr, "Warning: Non Init directive in init.conf\n"); |
76 } |
76 } |
77 |
77 |