aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-06-15 07:15:42 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-06-15 07:15:42 +0000
commitd1194307cff31ecc9b3c8a01ebfa154dbf85b58e (patch)
treedef41460148d6b0f847140e3afa2b48e0ac0e7f2
parent9a43c38656071c652b26d089a6c8702eb18c6f15 (diff)
downloadgnunet-d1194307cff31ecc9b3c8a01ebfa154dbf85b58e.tar.gz
gnunet-d1194307cff31ecc9b3c8a01ebfa154dbf85b58e.zip
document an assertion
-rw-r--r--src/util/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c
index 65f6dbc77..f9fc67c9d 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -897,6 +897,8 @@ GNUNET_CLIENT_notify_transmit_ready (struct GNUNET_CLIENT_Connection *sock,
897 897
898 if (NULL != sock->th) 898 if (NULL != sock->th)
899 { 899 {
900 /* If this breaks, you most likley called this function twice without waiting
901 * for completion or canceling the request */
900 GNUNET_break (0); 902 GNUNET_break (0);
901 return NULL; 903 return NULL;
902 } 904 }