summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-12 11:46:27 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-12 11:46:27 +0000
commitb0457db4a1d7a9342298a038b661bc6c252a9702 (patch)
treeeef88f972ad0b871eb465da05c18903550771bc8 /syslogd.c
parent4fb1eb8f072f2b77c5a10b9bf39d3742e16327b8 (diff)
downloadrsyslog-b0457db4a1d7a9342298a038b661bc6c252a9702.tar.gz
rsyslog-b0457db4a1d7a9342298a038b661bc6c252a9702.tar.xz
rsyslog-b0457db4a1d7a9342298a038b661bc6c252a9702.zip
cosmetic...
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index e78b08a3..df67fe06 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4220,8 +4220,7 @@ int getSubString(uchar **ppSrc, char *pDst, size_t DstSize, char cSep)
DstSize--;
}
/* check if the Dst buffer was to small */
- if ((cSep == ' ' ? !isspace(*pSrc) : *pSrc != cSep) && *pSrc != '\n' && *pSrc != '\0')
- {
+ if ((cSep == ' ' ? !isspace(*pSrc) : *pSrc != cSep) && *pSrc != '\n' && *pSrc != '\0') {
dbgprintf("in getSubString, error Src buffer > Dst buffer\n");
iErr = 1;
}