commit 0e9db527b0b85899af6d3dbb68899a8fef356dfe
parent c79a9a5adc5e141bf9142323c48ce552cc90a079
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 22 Jan 2017 15:21:18 +0100
minor cleanup
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/cadet/gnunet-service-cadet-new_connection.c b/src/cadet/gnunet-service-cadet-new_connection.c
@@ -493,6 +493,10 @@ connection_create (struct CadetPeer *destination,
cc->ready_cb_cls = ready_cb_cls;
cc->path = path;
cc->off = off;
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Creating connection %s using path %s\n",
+ GCC_2s (cc),
+ GCPP_2s (path));
GCPP_add_connection (path,
off,
cc);
@@ -506,10 +510,6 @@ connection_create (struct CadetPeer *destination,
cc->mq_man = GCP_request_mq (first_hop,
&manage_first_hop_mq,
cc);
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Created connection %s using path %s\n",
- GCC_2s (cc),
- GCPP_2s (path));
return cc;
}
@@ -672,7 +672,6 @@ GCC_debug (struct CadetConnection *cc,
enum GNUNET_ErrorType level)
{
int do_log;
- char *s;
do_log = GNUNET_get_log_call_status (level & (~GNUNET_ERROR_TYPE_BULK),
"cadet-con",