projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bca38f
)
Trivial %d -> %zu format string fix
author
Andre Noll
<maan@systemlinux.org>
Fri, 1 Jun 2007 09:50:02 +0000
(11:50 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Fri, 1 Jun 2007 09:50:02 +0000
(11:50 +0200)
It fixes
command.c:879: warning: int format, different type arg (arg 4)
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/command.c
index 2bd101919eafa22136926ff244d12d13866fabac..69983c3f13ac155909d2e4fb84ce53b62a51711d 100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-876,7
+876,7
@@
int handle_connect(int fd, struct sockaddr_in *addr)
if (ret <= 0)
goto err_out;
numbytes = ret;
- PARA_DEBUG_LOG("sending %
d
byte challenge\n", numbytes);
+ PARA_DEBUG_LOG("sending %
zu
byte challenge\n", numbytes);
/* We can't use send_buffer here since buf may contain null bytes */
ret = send_bin_buffer(fd,(char *) crypt_buf, numbytes);
if (ret < 0)