aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-02-22 23:52:44 +0000
committerRoger Dingledine <arma@torproject.org>2005-02-22 23:52:44 +0000
commit55c3f15ed1334fc4f63e04c4edc4bb2340623fac (patch)
tree73f97c3898cbcb049bb50d895c4260925ae22b64 /src/common/compat.h
parent6e6d95b3db091d4ae107c8d4f03354ccadd20757 (diff)
downloadtor-55c3f15ed1334fc4f63e04c4edc4bb2340623fac.tar
tor-55c3f15ed1334fc4f63e04c4edc4bb2340623fac.tar.gz
Forward-port the trick to bump up ConnLimit as far as it can
go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index ec433ddd7..f813becbc 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -195,7 +195,7 @@ void set_uint16(char *cp, uint16_t v);
void set_uint32(char *cp, uint32_t v);
#endif
-int set_max_file_descriptors(unsigned int required_min);
+int set_max_file_descriptors(int limit, int cap);
int switch_id(char *user, char *group);
#ifdef HAVE_PWD_H
char *get_user_homedir(const char *username);