* client.cc: Throughout, fix debug output of signed byte count value.
This commit is contained in:
parent
cf4b9e1c7e
commit
849019fa2e
|
@ -1,3 +1,7 @@
|
||||||
|
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* client.cc: Throughout, fix debug output of signed byte count value.
|
||||||
|
|
||||||
2014-04-07 Corinna Vinschen <corinna@vinschen.de>
|
2014-04-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* process.cc (process::process): Only notice that signal_arrived is
|
* process.cc (process::process): Only notice that signal_arrived is
|
||||||
|
|
|
@ -139,7 +139,7 @@ client_request::send (transport_layer_base * const conn)
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("request header write failure: "
|
syscall_printf (("request header write failure: "
|
||||||
"only %lu bytes sent of %lu, "
|
"only %ld bytes sent of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, sizeof (_header),
|
count, sizeof (_header),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -156,7 +156,7 @@ client_request::send (transport_layer_base * const conn)
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("request body write failure: "
|
syscall_printf (("request body write failure: "
|
||||||
"only %lu bytes sent of %lu, "
|
"only %ld bytes sent of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, msglen (),
|
count, msglen (),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -172,7 +172,7 @@ client_request::send (transport_layer_base * const conn)
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("reply header read failure: "
|
syscall_printf (("reply header read failure: "
|
||||||
"only %lu bytes received of %lu, "
|
"only %ld bytes received of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, sizeof (_header),
|
count, sizeof (_header),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -206,7 +206,7 @@ client_request::send (transport_layer_base * const conn)
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("reply body read failure: "
|
syscall_printf (("reply body read failure: "
|
||||||
"only %lu bytes received of %lu, "
|
"only %ld bytes received of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, msglen (),
|
count, msglen (),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -252,7 +252,7 @@ client_request::handle_request (transport_layer_base *const conn,
|
||||||
if (count != sizeof (header))
|
if (count != sizeof (header))
|
||||||
{
|
{
|
||||||
syscall_printf (("request header read failure: "
|
syscall_printf (("request header read failure: "
|
||||||
"only %lu bytes received of %lu, "
|
"only %ld bytes received of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, sizeof (header),
|
count, sizeof (header),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -346,7 +346,7 @@ client_request::handle (transport_layer_base *const conn,
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("request body read failure: "
|
syscall_printf (("request body read failure: "
|
||||||
"only %lu bytes received of %lu, "
|
"only %ld bytes received of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, msglen (),
|
count, msglen (),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -370,7 +370,7 @@ client_request::handle (transport_layer_base *const conn,
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("reply header write failure: "
|
syscall_printf (("reply header write failure: "
|
||||||
"only %lu bytes sent of %lu, "
|
"only %ld bytes sent of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, sizeof (_header),
|
count, sizeof (_header),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
@ -387,7 +387,7 @@ client_request::handle (transport_layer_base *const conn,
|
||||||
assert (errno);
|
assert (errno);
|
||||||
error_code (errno);
|
error_code (errno);
|
||||||
syscall_printf (("reply body write failure: "
|
syscall_printf (("reply body write failure: "
|
||||||
"only %lu bytes sent of %lu, "
|
"only %ld bytes sent of %lu, "
|
||||||
"error = %d(%u)"),
|
"error = %d(%u)"),
|
||||||
count, msglen (),
|
count, msglen (),
|
||||||
errno, GetLastError ());
|
errno, GetLastError ());
|
||||||
|
|
Loading…
Reference in New Issue