diff options
author | Roger Dingledine <arma@torproject.org> | 2005-02-22 23:52:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-02-22 23:52:44 +0000 |
commit | 55c3f15ed1334fc4f63e04c4edc4bb2340623fac (patch) | |
tree | 73f97c3898cbcb049bb50d895c4260925ae22b64 /src/common/compat.h | |
parent | 6e6d95b3db091d4ae107c8d4f03354ccadd20757 (diff) | |
download | tor-55c3f15ed1334fc4f63e04c4edc4bb2340623fac.tar.gz tor-55c3f15ed1334fc4f63e04c4edc4bb2340623fac.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index ec433ddd7b..f813becbcb 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); |