[or-cvs] it occurs to me that perhaps not all humans are familiar with

Roger Dingledine arma at seul.org
Fri Jan 28 08:50:13 UTC 2005


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

Modified Files:
      Tag: tor-0_0_9-patches
	main.c 
Log Message:
it occurs to me that perhaps not all humans are familiar with
the intuitive meaning of the "nfds" variable.


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.407.2.6
retrieving revision 1.407.2.7
diff -u -d -r1.407.2.6 -r1.407.2.7
--- main.c	28 Jan 2005 08:44:10 -0000	1.407.2.6
+++ main.c	28 Jan 2005 08:50:10 -0000	1.407.2.7
@@ -100,7 +100,7 @@
   tor_assert(conn->s >= 0);
 
   if (nfds >= get_options()->MaxConn-1) {
-    log_fn(LOG_WARN,"failing because nfds is too high.");
+    log_fn(LOG_WARN,"Failing because we have %d connections already. Please set MaxConn higher.", nfds);
     return -1;
   }
 



More information about the tor-commits mailing list