]> granicus.if.org Git - libevent/commitdiff
http: coding style issue
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 15 Feb 2016 00:53:25 +0000 (03:53 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 24 Feb 2016 11:22:27 +0000 (14:22 +0300)
http.c

diff --git a/http.c b/http.c
index 7d7ff07cf26ce8776f4b0fd6a86718423128a109..909af5e1f8c5f7314d504f55b9bdfd43e5006998 100644 (file)
--- a/http.c
+++ b/http.c
@@ -690,9 +690,8 @@ evhttp_connection_incoming_fail(struct evhttp_request *req,
 static inline void
 evhttp_request_free_auto(struct evhttp_request *req)
 {
-       if (!(req->flags & EVHTTP_USER_OWNED)) {
+       if (!(req->flags & EVHTTP_USER_OWNED))
                evhttp_request_free(req);
-       }
 }
 
 static void