[tor-commits] [tor/master] Fix comment for rend_service_parse_port_config()

nickm at torproject.org nickm at torproject.org
Fri Nov 18 01:13:58 UTC 2016


commit a847e16cbb4cac45439ea02221751de2bc3dc380
Author: Ivan Markin <twim at riseup.net>
Date:   Thu Nov 10 22:10:31 2016 +0000

    Fix comment for rend_service_parse_port_config()
---
 src/or/rendservice.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 0819d8a..76447a4 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -344,9 +344,9 @@ rend_service_port_config_new(const char *socket_path)
   return conf;
 }
 
-/** Parses a real-port to virtual-port mapping separated by the provided
- * separator and returns a new rend_service_port_config_t, or NULL and an
- * optional error string on failure.
+/** Parses a virtual-port to real-port/socket mapping separated by
+ * the provided separator and returns a new rend_service_port_config_t,
+ * or NULL and an optional error string on failure.
  *
  * The format is: VirtualPort SEP (IP|RealPort|IP:RealPort|'socket':path)?
  *





More information about the tor-commits mailing list