summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorgutteridge <gutteridge@NetBSD.org>2023-06-30 01:59:45 +0000
committergutteridge <gutteridge@NetBSD.org>2023-06-30 01:59:45 +0000
commit9edcb8ec9bc0d5b6837c733b53918ab8931494e4 (patch)
tree5d05e30a36f560d7beccbebadd6320008fa2858a /external
parent302acc5987f1f7507aaff7696041bf17d249a0c1 (diff)
PosixDaemon.c: convert tabs to spaces to match coding style
Match Apple's coding style for this project. (In part for those of us who have tabs visually representing four spaces!)
Diffstat (limited to 'external')
-rw-r--r--external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c b/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
index 2690d6cc811..ab66d60f1cd 100644
--- a/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
+++ b/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
@@ -128,7 +128,7 @@ mDNSlocal void ParseCmdLinArgs(int argc, char **argv)
mDNSlocal void DumpStateLog()
// Dump a little log of what we've been up to.
{
- LogMsg("---- BEGIN STATE LOG ----");
+ LogMsg("---- BEGIN STATE LOG ----");
udsserver_info();
LogMsg("---- END STATE LOG ----");
}
@@ -196,10 +196,10 @@ int main(int argc, char **argv)
{
const struct passwd *pw = getpwnam(MDNSD_USER);
if (pw != NULL)
- {
+ {
setgid(pw->pw_gid);
setuid(pw->pw_uid);
- }
+ }
else
#ifdef MDNSD_NOROOT
{