diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-06 11:53:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-06 11:53:15 +0000 |
commit | 5b4628337a35dac0fd34e51042b21db70dd39dee (patch) | |
tree | 74c8411a8dde0e4bb2549c5ee0a86f97aa2c9925 /src/transport/transport_api_address_to_string.c | |
parent | 9fac6b6eefdc9144053f736fd388cb2199a97046 (diff) | |
download | gnunet-5b4628337a35dac0fd34e51042b21db70dd39dee.tar.gz gnunet-5b4628337a35dac0fd34e51042b21db70dd39dee.zip |
-fixing #2302
Diffstat (limited to 'src/transport/transport_api_address_to_string.c')
-rw-r--r-- | src/transport/transport_api_address_to_string.c | 3 |
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 | |||
141 | GNUNET_break (0); | 141 | GNUNET_break (0); |
142 | return NULL; | 142 | return NULL; |
143 | } | 143 | } |
144 | |||
145 | client = GNUNET_CLIENT_connect ("transport", cfg); | 144 | client = GNUNET_CLIENT_connect ("transport", cfg); |
146 | if (client == NULL) | 145 | if (NULL == client) |
147 | return NULL; | 146 | return NULL; |
148 | msg = GNUNET_malloc (len); | 147 | msg = GNUNET_malloc (len); |
149 | msg->header.size = htons (len); | 148 | msg->header.size = htons (len); |