diff options
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/client.c b/src/util/client.c index 356123e94..05e05a328 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -847,12 +847,13 @@ connection_client_send_impl (struct GNUNET_MQ_Handle *mq, | |||
847 | GNUNET_assert (NULL == cstate->send_task); | 847 | GNUNET_assert (NULL == cstate->send_task); |
848 | cstate->msg = msg; | 848 | cstate->msg = msg; |
849 | cstate->msg_off = 0; | 849 | cstate->msg_off = 0; |
850 | if (NULL == cstate->sock){ | 850 | if (NULL == cstate->sock) |
851 | { | ||
851 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 852 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
852 | "message of type %u waiting for socket\n", | 853 | "message of type %u waiting for socket\n", |
853 | ntohs(msg->type)); | 854 | ntohs(msg->type)); |
854 | return; /* still waiting for connection */ | 855 | return; /* still waiting for connection */ |
855 | } | 856 | } |
856 | cstate->send_task | 857 | cstate->send_task |
857 | = GNUNET_SCHEDULER_add_write_net (GNUNET_TIME_UNIT_FOREVER_REL, | 858 | = GNUNET_SCHEDULER_add_write_net (GNUNET_TIME_UNIT_FOREVER_REL, |
858 | cstate->sock, | 859 | cstate->sock, |