use defines for size_t formating token
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 24 May 2011 22:01:07 +0000 (22:01 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 24 May 2011 22:01:07 +0000 (22:01 +0000)
webcit/tcp_sockets.c

index 6bbef24fb5fb7459fb001af957229c48bb3a6757..9d670935d9f14aee2fe98572a4eec48a153be5fa 100644 (file)
@@ -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)