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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index 4c64d2bf7..7a7f9ad0c 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -320,7 +320,6 @@ http_common_plugin_string_to_address (void *cls,
320 address = NULL; 320 address = NULL;
321 plugin = NULL; 321 plugin = NULL;
322 optionstr = NULL; 322 optionstr = NULL;
323 options = 0;
324 if ((NULL == addr) || (addrlen == 0)) 323 if ((NULL == addr) || (addrlen == 0))
325 { 324 {
326 GNUNET_break (0); 325 GNUNET_break (0);
@@ -346,7 +345,7 @@ http_common_plugin_string_to_address (void *cls,
346 } 345 }
347 optionstr[0] = '\0'; 346 optionstr[0] = '\0';
348 optionstr ++; 347 optionstr ++;
349 options = atol (optionstr); 348 options = atol (optionstr); /* 0 on conversion error, that's ok */
350 address = strchr (optionstr, '.'); 349 address = strchr (optionstr, '.');
351 if (NULL == address) 350 if (NULL == address)
352 { 351 {