Welcome! Log In Create A New Profile

Advanced

[PATCH] CLEANUP: http: Fix typo in init_http's comment

Posted by Tim Duesterhus 
Tim Duesterhus
[PATCH] CLEANUP: http: Fix typo in init_http's comment
September 16, 2018 12:50AM
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
Sorry, only registered users may post in this forum.

Click here to login