]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: http: Fix typo in init_http's comment
authorTim Duesterhus <tim@bastelstu.be>
Sat, 15 Sep 2018 22:42:30 +0000 (00:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 28 Nov 2018 03:20:51 +0000 (04:20 +0100)
It read "non-zero" where it should read zero.

src/http.c

index a8288a02097e263ae1ea2b60d9c9e947f6cb2c35..a556a88a139fa9b2e58bb0a330d3cacc497ef0cf 100644 (file)
@@ -973,7 +973,7 @@ int http_parse_stline(const struct ist line, struct ist *p1, struct ist *p2, str
 }
 
 
-/* post-initializes the HTTP parts. Returns non-zero on error, with <err>
+/* post-initializes the HTTP parts. Returns zero on error, with <err>
  * pointing to the error message.
  */
 int init_http(char **err)