Silence -Wparentheses warning.

This commit is contained in:
Emil Mikulic 2020-07-01 20:15:27 +10:00
parent 6c7fb762ac
commit f41be73a66

View File

@ -1860,7 +1860,7 @@ static void process_get(struct connection *conn) {
struct stat filestat;
/* strip out query params */
if (end = strchr(conn->url, '?'))
if ((end = strchr(conn->url, '?')) != NULL)
*end = '\0';
/* work out path of file being requested */