projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
952bf6f
)
better logging
author
Christian Grothoff
<christian@grothoff.org>
Thu, 12 May 2011 14:35:34 +0000
(14:35 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 12 May 2011 14:35:34 +0000
(14:35 +0000)
src/util/client.c
patch
|
blob
|
history
diff --git
a/src/util/client.c
b/src/util/client.c
index 7e688059044211cebf40dcea045f51534252b4a0..3c31aaaa8f1461c4939a6b9bf8d9b549a535010d 100644
(file)
--- a/
src/util/client.c
+++ b/
src/util/client.c
@@
-492,7
+492,11
@@
receive_helper (void *cls,
{
/* signal timeout! */
#if DEBUG_CLIENT
- GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "timeout in receive_helper, available %d, conn->sock %s, errCode %d\n", available, conn->sock == NULL ? "NULL" : "non-NULL", errCode);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Timeout in receive_helper, available %u, conn->sock %s, errCode `%s'\n",
+ (unsigned int) available,
+ conn->sock == NULL ? "NULL" : "non-NULL",
+ STRERROR (errCode));
#endif
if (NULL != (receive_handler = conn->receiver_handler))
{