-fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Apr 2012 15:56:34 +0000 (15:56 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Apr 2012 15:56:34 +0000 (15:56 +0000)
src/util/connection.c

index f6182ebbd9433fc096e6796a57b65a40f9c1f3cc..9b1191aaf01979e0f5877dac8b5d3ed67adaf643 100644 (file)
@@ -1091,6 +1091,7 @@ GNUNET_CONNECTION_receive (struct GNUNET_CONNECTION_Handle *connection, size_t m
   }
   if ((NULL == connection->dns_active) && (NULL == connection->ap_head))
   {
+    connection->receiver = NULL;
     receiver (receiver_cls, NULL, 0, NULL, 0, ETIMEDOUT);
     return;
   }