Discussion:
[PATCH] CLEANUP: http: Fix typo in init_http's comment
Tim Duesterhus
2018-09-15 22:42:30 UTC
Permalink
It read "non-zero" where it should read zero.
---
src/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http.c b/src/http.c
index 932f3cf7..1ca1805b 100644
--- a/src/http.c
+++ b/src/http.c
@@ -905,7 +905,7 @@ int http_find_next_url_param(const char **chunks,
}


-/* 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)
--
2.19.0
Tim Düsterhus
2018-11-26 11:42:06 UTC
Permalink
Willy,
Post by Tim Duesterhus
It read "non-zero" where it should read zero.
---
src/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/http.c b/src/http.c
index 932f3cf7..1ca1805b 100644
--- a/src/http.c
+++ b/src/http.c
@@ -905,7 +905,7 @@ int http_find_next_url_param(const char **chunks,
}
-/* 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)
While cleaning up my local branches I noticed that this patch is not yet
merged and probably slipped through.

Message-ID: 20180915224230.12922-1-***@bastelstu.be
Archive : https://www.mail-archive.com/***@formilux.org/msg31231.html

Best regards
Tim Düsterhus
Willy Tarreau
2018-11-28 03:21:37 UTC
Permalink
Post by Tim Düsterhus
While cleaning up my local branches I noticed that this patch is not yet
merged and probably slipped through.
Ah indeed, now applied, thank you!

Willy

Loading...