diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-01-30 22:19:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-01-30 22:19:41 +0000 |
commit | 76f896e7145ac85b354ad603794f569b20ca85c8 (patch) | |
tree | a3da57ca81cfda646587f3e62c18e63913d7d585 /src/common/compat.c | |
parent | 1894e7ea01154d91c3842926a71ae32843264a24 (diff) | |
download | tor-76f896e7145ac85b354ad603794f569b20ca85c8.tar.gz tor-76f896e7145ac85b354ad603794f569b20ca85c8.zip |
r11607@catbus: nickm | 2007-01-30 17:19:27 -0500
Audit non-const char arguments; make a lot more of them const.
svn:r9466
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 8b7867c719..6838db9043 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -645,7 +645,7 @@ set_max_file_descriptors(unsigned long limit, unsigned long cap) * success. On failure, log and return -1. */ int -switch_id(char *user, char *group) +switch_id(const char *user, const char *group) { #ifndef MS_WINDOWS struct passwd *pw = NULL; |