summaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2023-04-18 09:47:40 -0400
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2023-04-18 09:47:40 -0400
commit589cccc8c92823f9d1d4abc448553bd80daf65f2 (patch)
treee40245e18f5b61a1a3e5aef34caf23160e28d85c /inet
parent1629adf2a6eefe5ddddc2445e2d056ca80edfe8b (diff)
downloadglibc-589cccc8c92823f9d1d4abc448553bd80daf65f2.tar.gz
rcmd.c: Fix indentation in last commit
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'inet')
-rw-r--r--inet/rcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index c1cd9daeb5..dcf4f4ffd1 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -562,7 +562,7 @@ ruserok2_sa (struct sockaddr *ra, size_t ralen, int superuser,
are protected read/write owner only. */
uid = __geteuid ();
if (seteuid (pwd->pw_uid) < 0)
- return -1;
+ return -1;
hostf = iruserfopen (pbuf, pwd->pw_uid);
@@ -573,7 +573,7 @@ ruserok2_sa (struct sockaddr *ra, size_t ralen, int superuser,
}
if (seteuid (uid) < 0)
- return -1;
+ return -1;
return isbad;
}
return -1;