From: Nick Mathewson Date: Tue, 24 Aug 2004 20:46:42 +0000 (+0000) Subject: Improve log message to make it obvious _why_ reading the configuration has failed. X-Git-Tag: tor-0.0.8~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b4bfd500a1b4919f385314172ae71e0acfa79e2;p=thirdparty%2Ftor.git Improve log message to make it obvious _why_ reading the configuration has failed. svn:r2308 --- diff --git a/src/or/main.c b/src/or/main.c index 8c7a9ab731..41a9ec4e15 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -664,7 +664,7 @@ static int prepare_for_poll(void) { static int init_from_config(int argc, char **argv) { /* read the configuration file. */ if(getconfig(argc,argv,&options)) { - log_fn(LOG_ERR,"Reading config failed. For usage, try -h."); + log_fn(LOG_ERR,"Reading config failed--see warnings above. For usage, try -h."); return -1; }