aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 19:30:02 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 19:30:02 +0000
commit353e880bc1664d360a9c7f15e50fbd17712cae66 (patch)
treeac16e6817ea433cee71e85e65196a01c3778737a
parentfe5ca948d41c782d3a5101d5ed922c1aba314559 (diff)
-undo
-rw-r--r--src/util/client.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/util/client.c b/src/util/client.c
index ea335b1948..6e270c0c1f 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);