diff options
author | Neel Chauhan <neel@neelc.org> | 2019-11-26 21:58:31 -0500 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2019-11-26 21:58:31 -0500 |
commit | 96a15bece71f79269938c45bac6510ff6fb667d5 (patch) | |
tree | 3ffdd8751eee9287c9b795597471682fee0adc41 /src/lib/process | |
parent | fadd292bf05e6fedf61e25f43079920c9ea3c117 (diff) | |
download | tor-96a15bece71f79269938c45bac6510ff6fb667d5.tar.gz tor-96a15bece71f79269938c45bac6510ff6fb667d5.zip |
If statements to getresuid() and getresgid() in setuid.c shouldn't have an extra space
Diffstat (limited to 'src/lib/process')
-rw-r--r-- | src/lib/process/setuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/process/setuid.c b/src/lib/process/setuid.c index 3c94ce4bac..6cbdd99bb8 100644 --- a/src/lib/process/setuid.c +++ b/src/lib/process/setuid.c @@ -64,7 +64,7 @@ log_credential_status(void) /* log UIDs */ #ifdef HAVE_GETRESUID - if (getresuid(&ruid, &euid, &suid) != 0 ) { + if (getresuid(&ruid, &euid, &suid) != 0) { log_warn(LD_GENERAL, "Error getting changed UIDs: %s", strerror(errno)); return -1; } else { @@ -85,7 +85,7 @@ log_credential_status(void) /* log GIDs */ #ifdef HAVE_GETRESGID - if (getresgid(&rgid, &egid, &sgid) != 0 ) { + if (getresgid(&rgid, &egid, &sgid) != 0) { log_warn(LD_GENERAL, "Error getting changed GIDs: %s", strerror(errno)); return -1; } else { |