summaryrefslogtreecommitdiff
path: root/net/totd/files/patch-tcp_response.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/totd/files/patch-tcp_response.c')
-rw-r--r--net/totd/files/patch-tcp_response.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/totd/files/patch-tcp_response.c b/net/totd/files/patch-tcp_response.c
new file mode 100644
index 000000000000..88f38c92e97b
--- /dev/null
+++ b/net/totd/files/patch-tcp_response.c
@@ -0,0 +1,12 @@
+diff -ru work/totd-1.3/tcp_response.c work~/totd-1.3/tcp_response.c
+--- tcp_response.c.orig Wed Mar 6 06:56:03 2002
++++ tcp_response.c Sat Jun 14 22:17:56 2003
+@@ -116,7 +116,7 @@
+ cont->wp += len;
+ if (cont->wp < (cont->mesg.p + cont->mesg_len)) {
+ syslog (LOG_DEBUG, "%s: left %d bytes -- continue.", fn,
+- (cont->mesg.p + cont->mesg_len) - cont->wp);
++ (int)((cont->mesg.p + cont->mesg_len) - cont->wp));
+
+ /* SUCCESS */
+ return 0; /* the processing continues ... */