fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 18 Oct 2011 16:18:58 +0000 (16:18 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 18 Oct 2011 16:18:58 +0000 (16:18 +0000)
src/ats/ats_api_performance.c

index af977cb668a6c678fd469b32df2524b229ae6049..ee2f77e16cd8f72d9fa13417c52fe08152bf4ee2 100644 (file)
@@ -252,6 +252,8 @@ do_transmit (struct GNUNET_ATS_PerformanceHandle *ph)
     return;
   if (NULL == (p = ph->pending_head))
     return;
+  if (NULL == sh->client)
+    return; /* currently reconnecting */
   ph->th = GNUNET_CLIENT_notify_transmit_ready (ph->client,
                                                p->size,
                                                GNUNET_TIME_UNIT_FOREVER_REL,