X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fbase%2Fsrc%2Ftemplate_parser.c;h=1aa5131ffe756a9905a2e05669006814bee772af;hp=fc8607b3cc4c604582ec2766fd2c75aae5e893d1;hb=84de0fbe029d51d0a878506cf82713713b520f65;hpb=f8f558291aec3c9c197699fb28587626f8b53d96 diff --git a/modules/base/src/template_parser.c b/modules/base/src/template_parser.c index fc8607b3c..1aa5131ff 100644 --- a/modules/base/src/template_parser.c +++ b/modules/base/src/template_parser.c @@ -66,7 +66,7 @@ static char *strfind(char *haystack, int hslen, const char *needle, int ndlen) struct template_parser * template_open(const char *file) { struct stat s; - static struct template_parser *parser; + struct template_parser *parser; if (!(parser = malloc(sizeof(*parser)))) goto err;