]> granicus.if.org Git - libevent/commit
evhttp_have_expect(): fix -Wlogical-not-parentheses
authorAzat Khuzhin <a3at.mail@gmail.com>
Fri, 25 Mar 2016 07:21:48 +0000 (10:21 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Fri, 25 Mar 2016 07:21:48 +0000 (10:21 +0300)
commit24b521499ab94ec03e4c9068c5e79ad0afcdc94c
tree5c78f98b28b3c8b300d87b1d52ba1b8e01c7aac6
parentec65c42052d95d2c23d1d837136d1cf1d9ecef9e
evhttp_have_expect(): fix -Wlogical-not-parentheses

../http.c:589:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
        if (!req->kind == EVHTTP_REQUEST || !REQ_VERSION_ATLEAST(req, 1, 1))
                        ^          ~~
http.c