gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36300 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r36300 - gnunet/src/cadet
Date: Thu, 3 Sep 2015 20:04:02 +0200

Author: bartpolot
Date: 2015-09-03 20:04:02 +0200 (Thu, 03 Sep 2015)
New Revision: 36300

Modified:
   gnunet/src/cadet/gnunet-service-cadet_peer.c
Log:
- simplify loglevel

Modified: gnunet/src/cadet/gnunet-service-cadet_peer.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_peer.c        2015-09-03 18:04:01 UTC 
(rev 36299)
+++ gnunet/src/cadet/gnunet-service-cadet_peer.c        2015-09-03 18:04:02 UTC 
(rev 36300)
@@ -1414,22 +1414,15 @@
                void *cont_cls)
 {
   struct CadetPeerQueue *q;
-  int error_level;
   int priority;
   int call_core;
 
   GCC_check_connections ();
-  if (NULL == c && GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN != type)
-    error_level = GNUNET_ERROR_TYPE_ERROR;
-  else
-    error_level = GNUNET_ERROR_TYPE_INFO;
-  LOG (error_level,
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
        "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);
 
-  if (error_level == GNUNET_ERROR_TYPE_ERROR)
-    GNUNET_assert (0);
   if (NULL == peer->connections)
   {
     /* We are not connected to this peer, ignore request. */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]