[or-cvs] LOG_ERR is for when we"re going to exit

Roger Dingledine arma at seul.org
Fri Sep 10 21:39:56 UTC 2004


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

Modified Files:
	util.c 
Log Message:
LOG_ERR is for when we're going to exit


Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- util.c	8 Sep 2004 07:16:33 -0000	1.132
+++ util.c	10 Sep 2004 21:39:53 -0000	1.133
@@ -1616,7 +1616,7 @@
     const char *home = getenv("HOME");
     char *result;
     if (!home) {
-      log_fn(LOG_ERR, "Couldn't find $HOME environment variable while expanding %s", filename);
+      log_fn(LOG_WARN, "Couldn't find $HOME environment variable while expanding %s", filename);
       return NULL;
     }
     /* minus two characters for ~/, plus one for /, plus one for NUL. */



More information about the tor-commits mailing list