summaryrefslogtreecommitdiff
path: root/misc/esniper/files/patch-http.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/esniper/files/patch-http.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/esniper/files/patch-http.c b/misc/esniper/files/patch-http.c
new file mode 100644
index 000000000000..ee3e020377c5
--- /dev/null
+++ b/misc/esniper/files/patch-http.c
@@ -0,0 +1,20 @@
+--- http.c.orig Wed Oct 31 15:13:04 2007
++++ http.c Wed Oct 31 15:13:39 2007
+@@ -51,7 +51,7 @@
+ static int initCurlStuffFailed(void);
+
+ #ifdef NEED_CURL_EASY_STRERROR
+-static const char *curl_easy_strerror(CURLcode error);
++const char *curl_easy_strerror(CURLcode error);
+ #endif
+
+ /* Set auction error with full libcurl details */
+@@ -409,7 +409,7 @@
+ "Requested FTP SSL level failed", /* CURLE_FTP_SSL_FAILED */
+ };
+
+-static const char *
++const char *
+ curl_easy_strerror(CURLcode error)
+ {
+ if (error < 0 || error >= CURL_LAST ||