From 353e880bc1664d360a9c7f15e50fbd17712cae66 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Apr 2012 19:30:02 +0000 Subject: [PATCH] -undo --- src/util/client.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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); -- 2.25.1