projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle errors better
[oweals/gnunet.git]
/
src
/
util
/
client.c
diff --git
a/src/util/client.c
b/src/util/client.c
index 8a93bae9b3ac4b515b93bbd2aa81a748a09ed814..5131ce5247be5ea66433101967877a59dd670503 100644
(file)
--- a/
src/util/client.c
+++ b/
src/util/client.c
@@
-531,6
+531,7
@@
GNUNET_CLIENT_receive (struct GNUNET_CLIENT_Connection *sock,
}
else
{
+ GNUNET_assert (sock->in_receive == GNUNET_NO);
sock->in_receive = GNUNET_YES;
GNUNET_CONNECTION_receive (sock->sock,
GNUNET_SERVER_MAX_MESSAGE_SIZE,