projects
/
debian
/
gcpegg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch to using dh_prep
[debian/gcpegg]
/
network.c
diff --git
a/network.c
b/network.c
index f68d02b4b9e0696231d5ac07e31b7e77ae546450..fe87a7d90f4464cc67d6ffd8e6d3cddda2463c93 100644
(file)
--- a/
network.c
+++ b/
network.c
@@
-246,7
+246,7
@@
int NetListen(int sd, char **pktbuf,
}
#ifdef HEXDUMP
}
#ifdef HEXDUMP
- fprintf(stderr, "Received %
l
d bytes from %s\n", count,
+ fprintf(stderr, "Received %d bytes from %s\n", count,
inet_ntoa(sin->sin_addr));
xd(stderr, buffer, count, FALSE);
#endif
inet_ntoa(sin->sin_addr));
xd(stderr, buffer, count, FALSE);
#endif
@@
-274,7
+274,7
@@
int NetListen(int sd, char **pktbuf,
pktsize = ntohs(rpktsize);
if (pktsize != count) {
#ifdef DEBUG
pktsize = ntohs(rpktsize);
if (pktsize != count) {
#ifdef DEBUG
- fprintf(stderr, "** Bad packet length: pktsize = %d, count = %
l
d.\n",
+ fprintf(stderr, "** Bad packet length: pktsize = %d, count = %d.\n",
pktsize, count);
#endif
return ERR_PKT_BADLEN;
pktsize, count);
#endif
return ERR_PKT_BADLEN;