From: Christian Grothoff Date: Fri, 24 Jun 2011 07:20:31 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~18039 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b734352920d1731a739800549b0281421fe7b98c;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/connection.c b/src/util/connection.c index 27a94bd22..ccdaaa9ed 100644 --- a/src/util/connection.c +++ b/src/util/connection.c @@ -1619,6 +1619,7 @@ SCHEDULE_WRITE: GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Re-scheduling transmit_ready (more to do) (%p).\n", sock); #endif + have = sock->write_buffer_off - sock->write_buffer_pos; GNUNET_assert ( (sock->nth.notify_ready != NULL) || (have > 0) ); if (sock->write_task == GNUNET_SCHEDULER_NO_TASK) sock->write_task =