aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-03-02 11:27:11 +0100
committerChristian Grothoff <christian@grothoff.org>2019-03-02 11:27:11 +0100
commitbb3ff9584ea7ac92b742d2f435173dbd0d4f1589 (patch)
tree6f9d10238ed5bd8a79737315b5af31b8fa6abdb9 /src/util/client.c
parent1b1edf92c24f91c36747458e880e0d6a5e559e95 (diff)
downloadgnunet-bb3ff9584ea7ac92b742d2f435173dbd0d4f1589.tar.gz
gnunet-bb3ff9584ea7ac92b742d2f435173dbd0d4f1589.zip
use existing pf probe function from network.c instead of re-implementing it in service.c
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c5
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,