Fixed comparison between pointer and zero character constant.
@@ -848,7 +848,7 @@ parse_req (char *line, char **method, char **protocol)
(*protocol) = strtoupper (xstrdup (++proto));
}
- if ((dreq = decode_url (request)) && dreq != '\0') {
+ if ((dreq = decode_url (request)) && *dreq != '\0') {
free (request);
return dreq;
}
