aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index 7828dac53..9769c3cba 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -1630,7 +1630,10 @@ GNUNET_CONNECTION_notify_transmit_ready (struct GNUNET_CONNECTION_Handle
1630 notify, void *notify_cls) 1630 notify, void *notify_cls)
1631{ 1631{
1632 if (sock->nth.notify_ready != NULL) 1632 if (sock->nth.notify_ready != NULL)
1633 return NULL; 1633 {
1634 GNUNET_break (0);
1635 return NULL;
1636 }
1634 GNUNET_assert (notify != NULL); 1637 GNUNET_assert (notify != NULL);
1635 GNUNET_assert (size < GNUNET_SERVER_MAX_MESSAGE_SIZE); 1638 GNUNET_assert (size < GNUNET_SERVER_MAX_MESSAGE_SIZE);
1636 GNUNET_assert (sock->write_buffer_off <= sock->write_buffer_size); 1639 GNUNET_assert (sock->write_buffer_off <= sock->write_buffer_size);