diff options
Diffstat (limited to 'src/cadet/gnunet-cadet.c')
-rw-r--r-- | src/cadet/gnunet-cadet.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c index 6453392d8..f24975203 100644 --- a/src/cadet/gnunet-cadet.c +++ b/src/cadet/gnunet-cadet.c | |||
@@ -266,7 +266,9 @@ data_ready (void *cls, size_t size, void *buf) | |||
266 | } | 266 | } |
267 | 267 | ||
268 | total_size = data_size + sizeof (struct GNUNET_MessageHeader); | 268 | total_size = data_size + sizeof (struct GNUNET_MessageHeader); |
269 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "sending %u bytes\n", data_size); | 269 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
270 | "sending %u bytes\n", | ||
271 | (unsigned int) data_size); | ||
270 | GNUNET_assert (size >= total_size); | 272 | GNUNET_assert (size >= total_size); |
271 | 273 | ||
272 | msg = buf; | 274 | msg = buf; |
@@ -297,7 +299,9 @@ read_stdio (void *cls) | |||
297 | static char buf[60000]; | 299 | static char buf[60000]; |
298 | 300 | ||
299 | data_size = read (0, buf, 60000); | 301 | data_size = read (0, buf, 60000); |
300 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "stdio read %u bytes\n", data_size); | 302 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
303 | "stdio read %u bytes\n", | ||
304 | (unsigned int) data_size); | ||
301 | if (data_size < 1) | 305 | if (data_size < 1) |
302 | { | 306 | { |
303 | GNUNET_SCHEDULER_shutdown(); | 307 | GNUNET_SCHEDULER_shutdown(); |