aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-18 16:18:58 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-18 16:18:58 +0000
commitb5971e42c86ba8d74ed08a15800fcd5952186ece (patch)
tree5038a5e4e487b858e9239b135734c8cfba537a2f /src/ats
parent5cc38319ae9f339473264443374d3c2c80a08171 (diff)
downloadgnunet-b5971e42c86ba8d74ed08a15800fcd5952186ece.tar.gz
gnunet-b5971e42c86ba8d74ed08a15800fcd5952186ece.zip
fix
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/ats_api_performance.c2
1 files changed, 2 insertions, 0 deletions
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)
252 return; 252 return;
253 if (NULL == (p = ph->pending_head)) 253 if (NULL == (p = ph->pending_head))
254 return; 254 return;
255 if (NULL == sh->client)
256 return; /* currently reconnecting */
255 ph->th = GNUNET_CLIENT_notify_transmit_ready (ph->client, 257 ph->th = GNUNET_CLIENT_notify_transmit_ready (ph->client,
256 p->size, 258 p->size,
257 GNUNET_TIME_UNIT_FOREVER_REL, 259 GNUNET_TIME_UNIT_FOREVER_REL,