diff options
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/util/client.c b/src/util/client.c index 4e5eca32a..9950c9e2f 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -261,12 +261,13 @@ transmit_ready (void *cls) | |||
261 | len = ntohs (cstate->msg->size); | 261 | len = ntohs (cstate->msg->size); |
262 | GNUNET_assert (cstate->msg_off < len); | 262 | GNUNET_assert (cstate->msg_off < len); |
263 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 263 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
264 | "message of type %u trying to send with socket %p (MQ: %p\n", | 264 | "message of type %u and size %u trying to send with socket %p (MQ: %p\n", |
265 | ntohs (cstate->msg->type), | 265 | ntohs (cstate->msg->type), |
266 | ntohs (cstate->msg->size), | ||
266 | cstate->sock, | 267 | cstate->sock, |
267 | cstate->mq); | 268 | cstate->mq); |
268 | 269 | ||
269 | RETRY: | 270 | RETRY: |
270 | ret = GNUNET_NETWORK_socket_send (cstate->sock, | 271 | ret = GNUNET_NETWORK_socket_send (cstate->sock, |
271 | &pos[cstate->msg_off], | 272 | &pos[cstate->msg_off], |
272 | len - cstate->msg_off); | 273 | len - cstate->msg_off); |
@@ -311,8 +312,9 @@ RETRY: | |||
311 | return; | 312 | return; |
312 | } | 313 | } |
313 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 314 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
314 | "sending message of type %u successful\n", | 315 | "sending message of type %u and size %u successful\n", |
315 | ntohs (cstate->msg->type)); | 316 | ntohs (cstate->msg->type), |
317 | ntohs (cstate->msg->size)); | ||
316 | cstate->msg = NULL; | 318 | cstate->msg = NULL; |
317 | GNUNET_MQ_impl_send_continue (cstate->mq); | 319 | GNUNET_MQ_impl_send_continue (cstate->mq); |
318 | } | 320 | } |