summaryrefslogtreecommitdiff
path: root/dns/totd/files/patch-tcp_response.c
blob: 88f38c92e97be648bc081a5d4153aaa26b52a3f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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 ... */