projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3bb64
)
use defines for size_t formating token
author
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 24 May 2011 22:01:07 +0000
(22:01 +0000)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 24 May 2011 22:01:07 +0000
(22:01 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 6bbef24fb5fb7459fb001af957229c48bb3a6757..9d670935d9f14aee2fe98572a4eec48a153be5fa 100644
(file)
--- a/
webcit/tcp_sockets.c
+++ b/
webcit/tcp_sockets.c
@@
-332,7
+332,7
@@
int serv_read_binary(StrBuf *Ret, size_t total_len, StrBuf *Buf)
return -1;
}
- serv_printf("READ
%d|%d"
, bytes_read, total_len-bytes_read);
+ serv_printf("READ
"SIZE_T_FMT"|"SIZE_T_FMT
, bytes_read, total_len-bytes_read);
if ( (rc = StrBuf_ServGetln(Buf) > 0) && (GetServerStatus(Buf, NULL) == 6) )
{
if (rc < 0)