From: Christian Grothoff Date: Thu, 19 Apr 2012 19:30:02 +0000 (+0000) Subject: -undo X-Git-Tag: initial-import-from-subversion-38251~13859 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=353e880bc1664d360a9c7f15e50fbd17712cae66;p=oweals%2Fgnunet.git -undo --- diff --git a/src/util/client.c b/src/util/client.c index ea335b194..6e270c0c1 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -842,11 +842,10 @@ GNUNET_CLIENT_service_test (const char *service, conn->test_cb = task; conn->test_cb_cls = task_cls; conn->test_deadline = GNUNET_TIME_relative_to_absolute (timeout); - conn->th = GNUNET_CLIENT_notify_transmit_ready (conn, - sizeof (struct GNUNET_MessageHeader), - timeout, GNUNET_YES, &write_test, - conn); - if (NULL == conn->th) + if (NULL == GNUNET_CLIENT_notify_transmit_ready (conn, + sizeof (struct GNUNET_MessageHeader), + timeout, GNUNET_YES, &write_test, + conn)) { LOG (GNUNET_ERROR_TYPE_WARNING, _("Failure to transmit request to service `%s'\n"), service);