diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-24 07:20:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-24 07:20:31 +0000 |
commit | b734352920d1731a739800549b0281421fe7b98c (patch) | |
tree | 76c1bff8ed89f15d0cc8be6f27fa97de473fb4a5 | |
parent | 71fc8ae3986c0a4f41804e96bb99f5102684c1b6 (diff) | |
download | gnunet-b734352920d1731a739800549b0281421fe7b98c.tar.gz gnunet-b734352920d1731a739800549b0281421fe7b98c.zip |
fix
-rw-r--r-- | src/util/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
1619 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1619 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1620 | "Re-scheduling transmit_ready (more to do) (%p).\n", sock); | 1620 | "Re-scheduling transmit_ready (more to do) (%p).\n", sock); |
1621 | #endif | 1621 | #endif |
1622 | have = sock->write_buffer_off - sock->write_buffer_pos; | ||
1622 | GNUNET_assert ( (sock->nth.notify_ready != NULL) || (have > 0) ); | 1623 | GNUNET_assert ( (sock->nth.notify_ready != NULL) || (have > 0) ); |
1623 | if (sock->write_task == GNUNET_SCHEDULER_NO_TASK) | 1624 | if (sock->write_task == GNUNET_SCHEDULER_NO_TASK) |
1624 | sock->write_task = | 1625 | sock->write_task = |