[or-cvs] Warn about actual offending hiddenservice* config option, n...

Nick Mathewson nickm at seul.org
Tue Jan 10 19:28:33 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv18555/src/or

Modified Files:
	rendservice.c 
Log Message:
Warn about actual offending hiddenservice* config option, now that more than one is possible. Closes bug 239.

Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/rendservice.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -p -d -r1.151 -r1.152
--- rendservice.c	5 Jan 2006 21:23:03 -0000	1.151
+++ rendservice.c	10 Jan 2006 19:28:31 -0000	1.152
@@ -237,8 +237,8 @@ rend_config_services(or_options_t *optio
       continue;
     }
     if (!service) {
-      warn(LD_CONFIG, "HiddenServicePort with no preceding HiddenServiceDir "
-           "directive.");
+      warn(LD_CONFIG, "%s with no preceding HiddenServiceDir directive",
+           line->key);
       rend_service_free(service);
       return -1;
     }



More information about the tor-commits mailing list