summaryrefslogtreecommitdiff
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.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index a420b8cdc..f1246bdb4 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -244,13 +244,15 @@ static struct PrettyPrinterContext *dll_ppc_tail;
* to override the address again.
*
* @param plugin the name of the plugin
- * @param addr binary address
- * @param addrlen length of the address
- * @return string representing the same address
+ * @param saddr the splitted http address
+ * @param options address options
+ * @param dnsresult dns name to include in address
+ * @return string representing the same address or NULL on error
*/
static const char *
http_common_plugin_dnsresult_to_address (const char *plugin,
- const struct SplittedHTTPAddress *saddr, uint32_t options,
+ const struct SplittedHTTPAddress *saddr,
+ uint32_t options,
const char *dnsresult)
{
static char rbuf[1024];