fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 16:59:08 +0000 (16:59 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 16:59:08 +0000 (16:59 +0000)
src/transport/gnunet-service-transport_neighbours.c

index ba9692566ad534eab9b03b9c1c54089fb659b435..e9662728a16e03a1c1a16609339f249e972afab6 100644 (file)
@@ -349,7 +349,7 @@ transmit_send_continuation (void *cls,
 
   mq = cls;
   n = mq->n;
-  if ((NULL != n))
+  if (NULL != n)
   {
     GNUNET_assert (n->is_active == mq);
     n->is_active = NULL;
@@ -406,7 +406,7 @@ try_transmission_to_peer (struct NeighbourMapEntry *n)
   n->is_active = mq;
   mq->n = n;
 
-  if  (((n->session == NULL) && (n->addr == NULL) && (n->addrlen == 0)))
+  if  ((n->session == NULL) && (n->addr == NULL) && (n->addrlen == 0))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "No address for peer `%s'\n",
                 GNUNET_i2s (&n->id));