diff options
Diffstat (limited to 'src/dht/gnunet-service-xdht_clients.c')
-rw-r--r-- | src/dht/gnunet-service-xdht_clients.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-xdht_clients.c b/src/dht/gnunet-service-xdht_clients.c index 3475d00c9..bc5504ebe 100644 --- a/src/dht/gnunet-service-xdht_clients.c +++ b/src/dht/gnunet-service-xdht_clients.c | |||
@@ -318,13 +318,18 @@ send_reply_to_client (void *cls, size_t size, void *buf) | |||
318 | reply); | 318 | reply); |
319 | memcpy (&cbuf[off], reply->msg, msize); | 319 | memcpy (&cbuf[off], reply->msg, msize); |
320 | GNUNET_free (reply); | 320 | GNUNET_free (reply); |
321 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Transmitting %u bytes to client %p\n", | 321 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
322 | msize, client->client_handle); | 322 | "Transmitting %u bytes to client %p\n", |
323 | (unsigned int) msize, | ||
324 | client->client_handle); | ||
323 | off += msize; | 325 | off += msize; |
324 | } | 326 | } |
325 | process_pending_messages (client); | 327 | process_pending_messages (client); |
326 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Transmitted %u/%u bytes to client %p\n", | 328 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
327 | (unsigned int) off, (unsigned int) size, client->client_handle); | 329 | "Transmitted %u/%u bytes to client %p\n", |
330 | (unsigned int) off, | ||
331 | (unsigned int) size, | ||
332 | client->client_handle); | ||
328 | return off; | 333 | return off; |
329 | } | 334 | } |
330 | 335 | ||