[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] whine at you if you"re a server and you don"t set your cont...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] whine at you if you"re a server and you don"t set your cont...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Wed, 4 May 2005 16:45:41 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 04 May 2005 16:46:12 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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;