summaryrefslogtreecommitdiff
path: root/net/echoping/files/patch-http.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/echoping/files/patch-http.c')
-rw-r--r--net/echoping/files/patch-http.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/echoping/files/patch-http.c b/net/echoping/files/patch-http.c
index e5960167d865..d3cb1d14c52f 100644
--- a/net/echoping/files/patch-http.c
+++ b/net/echoping/files/patch-http.c
@@ -1,6 +1,15 @@
---- http.c.orig 2015-06-03 13:06:16 UTC
+--- http.c.orig 2019-12-29 10:14:41 UTC
+++ http.c
-@@ -113,6 +113,8 @@ read_from_server(CHANNEL fs, short ssl,
+@@ -6,7 +6,7 @@
+ #include "HTParse.h"
+
+
+-char big_recvline[MAXTOREAD];
++static char big_recvline[MAXTOREAD];
+
+ char *
+ make_http_sendline(char *url, char *host, int port, int nocache)
+@@ -113,6 +113,8 @@ read_from_server(CHANNEL fs, short ssl, boolean accept
/* 204 No Content is not an error, message body is empty by definition, see RFC 2616 */
if (reply_code == 204)
return 0; /* zero bytes is correct */