Silence -Wparentheses warning.
This commit is contained in:
parent
6c7fb762ac
commit
f41be73a66
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue