From: Christian Grothoff Date: Tue, 18 Oct 2011 16:18:58 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16422 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b5971e42c86ba8d74ed08a15800fcd5952186ece;p=oweals%2Fgnunet.git fix --- diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index af977cb66..ee2f77e16 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c @@ -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,