src/server/config/serverconf.c

changeset 36
450d2d5f4735
parent 20
7b235fa88008
child 44
3da1f7b6847f
equal deleted inserted replaced
35:4417619a9bbd 36:450d2d5f4735
85 } 85 }
86 case LINE_END_TAG: { 86 case LINE_END_TAG: {
87 sstr_t tag = cfg_get_end_tag_name(line); 87 sstr_t tag = cfg_get_end_tag_name(line);
88 if(sstrcmp(tag, conf->obj->type) != 0) { 88 if(sstrcmp(tag, conf->obj->type) != 0) {
89 fprintf(stderr, "syntax error: wrong close tag\n"); 89 fprintf(stderr, "syntax error: wrong close tag\n");
90 fprintf(stderr, "open tag: %s close tag: %s\n", sstrdub(tag).ptr, sstrdub(conf->obj->type).ptr); 90 fprintf(stderr, "open tag: %s close tag: %s\n", sstrdup(tag).ptr, sstrdup(conf->obj->type).ptr);
91 exit(-1); 91 exit(-1);
92 } 92 }
93 conf->obj = NULL; 93 conf->obj = NULL;
94 94
95 break; 95 break;

mercurial