diff options
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 38b0775f3..615639a6e 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -2077,18 +2077,12 @@ client_configure_plugin (struct HTTP_Client_Plugin *plugin) | |||
2077 | 2077 | ||
2078 | 2078 | ||
2079 | /** | 2079 | /** |
2080 | * Function called by the pretty printer for the resolved address for | 2080 | * Function to convert an address to a human-readable string. |
2081 | * each human-readable address obtained. The callback can be called | ||
2082 | * several times. The last invocation must be with a @a address of | ||
2083 | * NULL and a @a res of #GNUNET_OK. Thus, to indicate conversion | ||
2084 | * errors, the callback might be called first with @a address NULL and | ||
2085 | * @a res being #GNUNET_SYSERR. In that case, there must still be a | ||
2086 | * subsequent call later with @a address NULL and @a res #GNUNET_OK. | ||
2087 | * | 2081 | * |
2088 | * @param cls closure | 2082 | * @param cls closure |
2089 | * @param address one of the names for the host, NULL on last callback | 2083 | * @param addr address to convert |
2090 | * @param res #GNUNET_OK if conversion was successful, #GNUNET_SYSERR on failure, | 2084 | * @param addrlen address length |
2091 | * #GNUNET_OK on last callback | 2085 | * @return res string if conversion was successful, NULL otherwise |
2092 | */ | 2086 | */ |
2093 | static const char * | 2087 | static const char * |
2094 | http_client_plugin_address_to_string (void *cls, | 2088 | http_client_plugin_address_to_string (void *cls, |
@@ -2126,7 +2120,7 @@ http_client_plugin_update_session_timeout (void *cls, | |||
2126 | * | 2120 | * |
2127 | * @param cls closure | 2121 | * @param cls closure |
2128 | * @param peer which peer was the session for | 2122 | * @param peer which peer was the session for |
2129 | * @param session which session is being updated | 2123 | * @param s which session is being updated |
2130 | * @param delay new delay to use for receiving | 2124 | * @param delay new delay to use for receiving |
2131 | */ | 2125 | */ |
2132 | static void | 2126 | static void |