(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 Oct 2011 11:52:39 +0000 (11:52 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 Oct 2011 11:52:39 +0000 (11:52 +0000)
src/transport/gnunet-service-transport_neighbours_3way.c

index b09812f61f9ec24960ede1c0a76306e087b59946..cbddc6fd8c0e166e1f11b722d541435d88410673 100644 (file)
@@ -470,7 +470,7 @@ change (struct NeighbourMapEntry * n, int state, int line)
   }
 
   n->state = state;
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "State for neighbour `%s' %X changed from `%s' to `%s' in line %u\n",
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "State for neighbour `%s' %X changed from `%s' to `%s' in line %u\n",
       GNUNET_i2s (&n->id), n, old, new, line);
   GNUNET_free (old);
   GNUNET_free (new);
@@ -1211,7 +1211,7 @@ GST_neighbours_switch_to_address_3way (const struct GNUNET_PeerIdentity *peer,
     return GNUNET_NO;
   }
 
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid connection state to switch addresses %u ", n->state);
+  GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid connection state to switch addresses %u \n", n->state);
   GNUNET_break_op (0);
   return GNUNET_NO;
 }
@@ -1787,10 +1787,9 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message,
   int was_connected;
 
 #if DEBUG_TRANSPORT
-#endif
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
       "Received CONNECT_ACK message from peer `%s'\n", GNUNET_i2s (peer));
-
+#endif
 
   if (ntohs (message->size) != sizeof (struct SessionConnectMessage))
   {