diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-27 10:03:48 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-27 10:03:48 +0000 |
commit | eb34c848fc08edc2fa31e43e4bf52e920d476d30 (patch) | |
tree | 8c2dd2eafd002febef4648fa1f08d0d406b6a7f9 /src/transport/plugin_transport_http_client.c | |
parent | 9b6d7bf19852eb022909faac709b612aa0173e88 (diff) | |
download | gnunet-eb34c848fc08edc2fa31e43e4bf52e920d476d30.tar.gz gnunet-eb34c848fc08edc2fa31e43e4bf52e920d476d30.zip |
reflow paragraph
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 073129551..81ab4d5da 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -1565,22 +1565,18 @@ client_connect (struct Session *s) | |||
1565 | int res = GNUNET_OK; | 1565 | int res = GNUNET_OK; |
1566 | 1566 | ||
1567 | /* create url */ | 1567 | /* create url */ |
1568 | if (NULL == http_common_plugin_address_to_string (plugin->protocol, | 1568 | if (NULL == http_common_plugin_address_to_string(plugin->protocol, |
1569 | s->address->address, | 1569 | s->address->address, s->address->address_length)) |
1570 | s->address->address_length)) | 1570 | { |
1571 | { | 1571 | LOG(GNUNET_ERROR_TYPE_DEBUG, "Invalid address peer `%s'\n", |
1572 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1572 | GNUNET_i2s(&s->address->peer)); |
1573 | "Invalid address peer `%s'\n", | 1573 | return GNUNET_SYSERR; |
1574 | GNUNET_i2s (&s->address->peer)); | 1574 | } |
1575 | return GNUNET_SYSERR; | ||
1576 | } | ||
1577 | 1575 | ||
1578 | GNUNET_asprintf (&s->url, "%s/%s;%u", | 1576 | GNUNET_asprintf(&s->url, "%s/%s;%u", |
1579 | http_common_plugin_address_to_url (NULL, | 1577 | http_common_plugin_address_to_url(NULL, s->address->address, |
1580 | s->address->address, | 1578 | s->address->address_length), |
1581 | s->address->address_length), | 1579 | GNUNET_i2s_full(plugin->env->my_identity), plugin->last_tag); |
1582 | GNUNET_i2s_full (plugin->env->my_identity), | ||
1583 | plugin->last_tag); | ||
1584 | 1580 | ||
1585 | plugin->last_tag++; | 1581 | plugin->last_tag++; |
1586 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1582 | LOG (GNUNET_ERROR_TYPE_DEBUG, |