summaryrefslogtreecommitdiff
path: root/misc/bidwatcher/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bidwatcher/patches/patch-ab')
-rw-r--r--misc/bidwatcher/patches/patch-ab13
1 files changed, 0 insertions, 13 deletions
diff --git a/misc/bidwatcher/patches/patch-ab b/misc/bidwatcher/patches/patch-ab
deleted file mode 100644
index afb077fd036..00000000000
--- a/misc/bidwatcher/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2002/12/30 02:09:27 dmcmahill Exp $
-
---- netstuff.cpp.orig Sat Oct 19 14:40:15 2002
-+++ netstuff.cpp
-@@ -353,7 +353,7 @@ int fetchURL(URL *url, int Post, char **
- if (*Args != '\0')
- Args++;
-
-- sprintf(lineBuff, "POST %.*s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\nContent-Length: %d\r\n%s\r\n%s", URLLen, url->url, url->hoststring, strlen(Args), UserAgent, Args);
-+ sprintf(lineBuff, "POST %.*s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\nContent-Length: %ld\r\n%s\r\n%s", URLLen, url->url, url->hoststring, (long int) strlen(Args), UserAgent, Args);
- } else {
- sprintf(lineBuff, "GET %s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\n%s\r\n", url->url, url->hoststring, UserAgent);
- }