Update http_server.c

This commit is contained in:
Dany LE 2022-08-21 18:14:08 +02:00 committed by GitHub
parent 8cab868003
commit 99c5df1c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -578,7 +578,7 @@ int rule_check(const char *k, const char *v, const char *host, const char *_url,
free(query);
return 0;
}
LOG("Match found on", target);
LOG("Match found on %s", target);
tmp = (char *)v;
char *search = "<([a-zA-Z0-9]+)>";
while ((ret = regex_match(search, tmp, 2, val_matches)))