Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2018 22:00:58 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331270 - head/usr.sbin/syslogd
Message-ID:  <201803202200.w2KM0wUR083585@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Tue Mar 20 22:00:58 2018
New Revision: 331270
URL: https://svnweb.freebsd.org/changeset/base/331270

Log:
  Fix whitespace issues in r330034. No functional changes.

Modified:
  head/usr.sbin/syslogd/syslogd.c

Modified: head/usr.sbin/syslogd/syslogd.c
==============================================================================
--- head/usr.sbin/syslogd/syslogd.c	Tue Mar 20 21:37:33 2018	(r331269)
+++ head/usr.sbin/syslogd/syslogd.c	Tue Mar 20 22:00:58 2018	(r331270)
@@ -383,13 +383,13 @@ close_filed(struct filed *f)
 
 	switch (f->f_type) {
 	case F_FORW:
-            if (f->f_un.f_forw.f_addr) {
-                freeaddrinfo(f->f_un.f_forw.f_addr);
-                f->f_un.f_forw.f_addr = NULL;
-            }
-            /*FALLTHROUGH*/
+		if (f->f_un.f_forw.f_addr) {
+			freeaddrinfo(f->f_un.f_forw.f_addr);
+			f->f_un.f_forw.f_addr = NULL;
+		}
+		/* FALLTHROUGH */
 
-        case F_FILE:
+	case F_FILE:
 	case F_TTY:
 	case F_CONSOLE:
 		f->f_type = F_UNUSED;
@@ -1865,7 +1865,7 @@ readconfigfile(FILE *cf, int allow_includes)
 		f = cfline(cline, prog, host);
 		if (f != NULL)
 			addfile(f);
-                free(f);
+		free(f);
 	}
 }
 
@@ -1963,11 +1963,11 @@ init(int signo)
 		f = cfline("*.ERR\t/dev/console", "*", "*");
 		if (f != NULL)
 			addfile(f);
-                free(f);
+		free(f);
 		f = cfline("*.PANIC\t*", "*", "*");
 		if (f != NULL)
 			addfile(f);
-                free(f);
+		free(f);
 		Initialized = 1;
 
 		return;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803202200.w2KM0wUR083585>