Tim Duesterhus
2018-09-15 22:42:30 UTC
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)
---
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
2.19.0