[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix duplicate definition of MAXCONNECTIONS on win32
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv28705/src/or
Modified Files:
Tag: tor-0_0_9-patches
or.h
Log Message:
fix duplicate definition of MAXCONNECTIONS on win32
Index: or.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.508.2.10
retrieving revision 1.508.2.11
diff -u -d -r1.508.2.10 -r1.508.2.11
--- or.h 4 Feb 2005 00:56:23 -0000 1.508.2.10
+++ or.h 4 Feb 2005 05:29:13 -0000 1.508.2.11
@@ -125,7 +125,9 @@
/** Upper bound on maximum simultaneous connections; can be lowered by
* config file. */
+#ifndef MAXCONNECTIONS
#define MAXCONNECTIONS 15000
+#endif
#define DEFAULT_BANDWIDTH_OP (1024 * 1000)
#define MAX_NICKNAME_LEN 19