Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSPosix PosixDaemon.c:...



details:   https://anonhg.NetBSD.org/src/rev/276d4353119a
branches:  trunk
changeset: 377177:276d4353119a
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Fri Jun 30 01:59:45 2023 +0000

description:
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:

 external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 4ac9c33af335 -r 276d4353119a external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
--- a/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c       Fri Jun 30 00:48:03 2023 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c       Fri Jun 30 01:59:45 2023 +0000
@@ -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
         {



Home | Main Index | Thread Index | Old Index