[or-cvs] whine at you if you"re a server and you don"t set your cont...

Roger Dingledine arma at seul.org
Wed May 4 20:45:41 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
whine at you if you're a server and you don't set your contactinfo


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.340
retrieving revision 1.341
diff -u -d -r1.340 -r1.341
--- config.c	3 May 2005 10:04:07 -0000	1.340
+++ config.c	4 May 2005 20:45:38 -0000	1.341
@@ -1282,6 +1282,9 @@
     }
   }
 
+  if (server_mode(options) && !options->ContactInfo)
+    log_fn(LOG_NOTICE,"Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong.");
+
   if (normalize_log_options(options))
     return -1;
 



More information about the tor-commits mailing list