summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-04 12:35:28 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-04 12:35:28 +0000
commit5ba8b2c77c3971a69bde54f3dd0ede81e641d798 (patch)
treed2d309b941d61c891e87921e063db0deffef2e16 /syslogd.c
parentcee20af583a19ee2eb7db4664678a41dd6de11d4 (diff)
downloadrsyslog-5ba8b2c77c3971a69bde54f3dd0ede81e641d798.zip
rsyslog-5ba8b2c77c3971a69bde54f3dd0ede81e641d798.tar.gz
rsyslog-5ba8b2c77c3971a69bde54f3dd0ede81e641d798.tar.xz
cleanup
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/syslogd.c b/syslogd.c
index d2f3e3b..904bdbd 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3193,11 +3193,9 @@ int realMain(int argc, char **argv)
}
}
- /* Convert to lower case to recognize the correct domain laterly
- */
- for (p = (char *)LocalDomain; *p ; p++)
- if (isupper((int) *p))
- *p = (char)tolower((int)*p);
+ /* Convert to lower case to recognize the correct domain laterly */
+ for (p = (char *)LocalDomain ; *p ; p++)
+ *p = (char)tolower((int)*p);
/* initialize the objects */
if((iRet = modInitIminternal()) != RS_RET_OK) {
@@ -3215,7 +3213,7 @@ int realMain(int argc, char **argv)
/* END core initializations - we now come back to carrying out command line options*/
while((iRet = bufOptRemove(&ch, &arg)) == RS_RET_OK) {
-dbgprintf("deque option %c, optarg '%s'\n", ch, arg);
+ dbgprintf("deque option %c, optarg '%s'\n", ch, arg);
switch((char)ch) {
case '4':
family = PF_INET;