summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_address_to_string.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-06 11:53:15 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-06 11:53:15 +0000
commit5b4628337a35dac0fd34e51042b21db70dd39dee (patch)
tree74c8411a8dde0e4bb2549c5ee0a86f97aa2c9925 /src/transport/transport_api_address_to_string.c
parent9fac6b6eefdc9144053f736fd388cb2199a97046 (diff)
-fixing #2302
Diffstat (limited to 'src/transport/transport_api_address_to_string.c')
-rw-r--r--src/transport/transport_api_address_to_string.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/transport_api_address_to_string.c b/src/transport/transport_api_address_to_string.c
index 237c0b657..152e573cd 100644
--- a/src/transport/transport_api_address_to_string.c
+++ b/src/transport/transport_api_address_to_string.c
@@ -141,9 +141,8 @@ GNUNET_TRANSPORT_address_to_string (const struct GNUNET_CONFIGURATION_Handle
GNUNET_break (0);
return NULL;
}
-
client = GNUNET_CLIENT_connect ("transport", cfg);
- if (client == NULL)
+ if (NULL == client)
return NULL;
msg = GNUNET_malloc (len);
msg->header.size = htons (len);