Module Name: src
Committed By: gutteridge
Date: Fri Jun 30 01:59:45 UTC 2023
Modified Files:
src/external/apache2/mDNSResponder/dist/mDNSPosix: PosixDaemon.c
Log Message:
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!)
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
diff -u src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c:1.16 src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c:1.17
--- src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c:1.16 Mon May 29 21:16:58 2023
+++ src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c Fri Jun 30 01:59:45 2023
@@ -128,7 +128,7 @@ mDNSlocal void ParseCmdLinArgs(int argc,
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
{