projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71fc8ae
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 24 Jun 2011 07:20:31 +0000
(07:20 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 24 Jun 2011 07:20:31 +0000
(07:20 +0000)
src/util/connection.c
patch
|
blob
|
history
diff --git
a/src/util/connection.c
b/src/util/connection.c
index 27a94bd22c5ae5a9f77de5a1432ae600dcc8a1dd..ccdaaa9ed1c787beb7d6b9597fe2b593bfb3f608 100644
(file)
--- 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 =