diff --git a/htdocs/archive/createzip.c b/htdocs/archive/createzip.c index 3e567e63b..255579704 100644 --- a/htdocs/archive/createzip.c +++ b/htdocs/archive/createzip.c @@ -26,9 +26,9 @@ int main() xmldata = xmldata ? (xmldata + 6) : ""; char name[MAX_NAME_LEN+20]; - if (strstr(xmldata, "")) + if (strstr(xmldata, "")) sprintf(name, "archive/%s.rule", getname(line)); - else + else sprintf(name, "archive/%s.cfg", getname(line)); if (first == 1) {