[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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;
     }