[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] clean up maxconn hack slightly



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

Modified Files:
      Tag: tor-0_0_9-patches
	compat.c 
Log Message:
clean up maxconn hack slightly


Index: compat.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/compat.c,v
retrieving revision 1.22.2.5
retrieving revision 1.22.2.6
diff -u -d -r1.22.2.5 -r1.22.2.6
--- compat.c	4 Feb 2005 00:44:02 -0000	1.22.2.5
+++ compat.c	4 Feb 2005 00:56:23 -0000	1.22.2.6
@@ -368,7 +368,7 @@
     return -1;
   }
   if (rlim.rlim_max < 1024) {
-    log_fn(LOG_WARN,"We need %u file descriptors available, and we're limited to %lu. Please change your ulimit.", 1024, (unsigned long int)rlim.rlim_max);
+    log_fn(LOG_WARN,"We need %u file descriptors available, and we're limited to %lu. Please change your ulimit -n.", 1024, (unsigned long int)rlim.rlim_max);
     return -1;
   }
   if (rlim.rlim_max > rlim.rlim_cur) {