Check that you are not present in trail twice
[oweals/gnunet.git] / src / transport / plugin_transport_http_common.c
index a420b8cdc5a73a20852546b027b95341f4af58c2..f1246bdb4c0af5a7d0fe561870371db2cb7577dc 100644 (file)
@@ -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];