From 52a970cae9e0cb0d5a8aa1e9a62bfa8eff35bc68 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 27 Apr 2015 19:15:12 +0000 Subject: [PATCH] - log format --- src/cadet/gnunet-service-cadet_connection.c | 2 +- src/cadet/gnunet-service-cadet_peer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 522e9ced3..e681dc75f 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c @@ -3106,7 +3106,7 @@ GCC_send_prebuilt_message (const struct GNUNET_MessageHeader *message, data = GNUNET_malloc (size); memcpy (data, message, size); type = ntohs (message->type); - LOG (GNUNET_ERROR_TYPE_INFO, "--> %s (%s %9u) on connection %s (%u bytes)\n", + LOG (GNUNET_ERROR_TYPE_INFO, "--> %s (%s %4u) on connection %s (%u bytes)\n", GC_m2s (type), GC_m2s (payload_type), payload_id, GCC_2s (c), size); fc = fwd ? &c->fwd_fc : &c->bck_fc; diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index a99960587..f698a4842 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c @@ -1342,7 +1342,7 @@ GCP_queue_add (struct CadetPeer *peer, void *cls, uint16_t type, else error_level = GNUNET_ERROR_TYPE_INFO; LOG (error_level, - "que %s (%s %9u) on connection %s (%p) %s towards %s (size %u)\n", + "que %s (%s %4u) on connection %s (%p) %s towards %s (size %u)\n", GC_m2s (type), GC_m2s (payload_type), payload_id, GCC_2s (c), c, GC_f2s (fwd), GCP_2s (peer), size); -- 2.25.1