From: Amaury Denoyelle Date: Wed, 3 Mar 2021 10:24:33 +0000 (+0100) Subject: CLEANUP: backend: fix a wrong comment X-Git-Tag: v2.4-dev11~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=603657835fa4617a9caf61713a632236101f0a14;p=thirdparty%2Fhaproxy.git CLEANUP: backend: fix a wrong comment missing 'not' when skipping reuse if proxy mode not HTTP --- diff --git a/src/backend.c b/src/backend.c index e26167984d..ef350f0600 100644 --- a/src/backend.c +++ b/src/backend.c @@ -1338,7 +1338,7 @@ int connect_server(struct stream *s) */ si_release_endpoint(&s->si[1]); - /* do not reuse if mode is http or if avail list is not allocated */ + /* do not reuse if mode is not http or if avail list is not allocated */ if ((s->be->mode != PR_MODE_HTTP) || (srv && !srv->available_conns_tree)) goto skip_reuse;