aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index 131624f16..f5712db58 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -208,17 +208,14 @@ http_common_plugin_address_pretty_printer (void *cls,
208{ 208{
209 const struct HttpAddress *address = addr; 209 const struct HttpAddress *address = addr;
210 210
211 if (NULL == 211 if (NULL
212 http_common_plugin_address_to_string (NULL, type, 212 == http_common_plugin_address_to_string (NULL, type, address, addrlen))
213 address, addrlen)) 213 asc (asc_cls, NULL, GNUNET_SYSERR);
214 { 214 else
215 asc (asc_cls, NULL); 215 asc (asc_cls,
216 return; 216 http_common_plugin_address_to_string (NULL, type, address, addrlen),
217 } 217 GNUNET_OK);
218 asc (asc_cls, http_common_plugin_address_to_string (NULL, 218 asc (asc_cls, NULL, GNUNET_OK);
219 type,
220 address, addrlen));
221 asc (asc_cls, NULL);
222} 219}
223 220
224 221