tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 96a15bece71f79269938c45bac6510ff6fb667d5
parent fadd292bf05e6fedf61e25f43079920c9ea3c117
Author: Neel Chauhan <neel@neelc.org>
Date:   Tue, 26 Nov 2019 21:58:31 -0500

If statements to getresuid() and getresgid() in setuid.c shouldn't have an extra space

Diffstat:
Msrc/lib/process/setuid.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 {