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

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