trying to fix 1717
authorChristian Grothoff <christian@grothoff.org>
Mon, 4 Jul 2011 11:28:59 +0000 (11:28 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 4 Jul 2011 11:28:59 +0000 (11:28 +0000)
src/util/connection.c

index 200f7aed60b9849dca041b764829db4e531c6dec..2ee776082b408e791e2cadaf74108b67942f371b 100644 (file)
@@ -1089,6 +1089,7 @@ GNUNET_CONNECTION_destroy (struct GNUNET_CONNECTION_Handle *sock,
          sock->write_task = GNUNET_SCHEDULER_NO_TASK;
          sock->write_buffer_off = 0;
        }
+      sock->nth.notify_ready = NULL;
     }
   if ((sock->write_buffer_off == 0) && (sock->dns_active != NULL))
     {