1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-13 23:39:20 -04:00
ports/dns/totd/files/patch-tcp_response.c
2003-06-15 05:22:32 +00:00

12 lines
484 B
C

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 ... */