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:
0f23567
)
-extra assertion
author
Christian Grothoff
<christian@grothoff.org>
Thu, 26 Apr 2012 11:07:28 +0000
(11:07 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 26 Apr 2012 11:07:28 +0000
(11:07 +0000)
src/util/connection.c
patch
|
blob
|
history
diff --git
a/src/util/connection.c
b/src/util/connection.c
index 9b1191aaf01979e0f5877dac8b5d3ed67adaf643..ba129661b604be48fe213e16448c6540bd2e008e 100644
(file)
--- a/
src/util/connection.c
+++ b/
src/util/connection.c
@@
-606,6
+606,7
@@
connect_success_continuation (struct GNUNET_CONNECTION_Handle *connection)
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Connection succeeded, starting with receiving data (%p)\n",
connection);
+ GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == connection->read_task);
connection->read_task =
GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_absolute_get_remaining
(connection->receive_timeout), connection->sock,