diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
commit | 6f5dbefa7efe0c0c86928777b8821b3fdc91cf45 (patch) | |
tree | e92106bd8cac85684983daf62d952a9d8e6b8f18 /src/common/compat.c | |
parent | 67dc7baa59e2b38a6720d843b54257ca0dd9e722 (diff) | |
download | tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar.gz tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.zip |
Normalize space: add one between every control keyword and control clause.
svn:r3003
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 49c8c3a7af..d46077485a 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -158,7 +158,7 @@ int replace_file(const char *from, const char *to) #ifndef MS_WINDOWS return rename(from,to); #else - switch(file_status(to)) + switch (file_status(to)) { case FN_NOENT: break; @@ -318,11 +318,11 @@ int set_max_file_descriptors(unsigned int required_min) { strerror(errno)); return -1; } - if(required_min > rlim.rlim_max) { + if (required_min > rlim.rlim_max) { log_fn(LOG_WARN,"We need %u file descriptors available, and we're limited to %lu. Please change your ulimit.", required_min, (unsigned long int)rlim.rlim_max); return -1; } - if(required_min > rlim.rlim_cur) { + if (required_min > rlim.rlim_cur) { log_fn(LOG_INFO,"Raising max file descriptors from %lu to %lu.", (unsigned long int)rlim.rlim_cur, (unsigned long int)rlim.rlim_max); } |