summaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-16 13:40:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-16 13:40:53 +0200
commit09a3d4ef122288c47a8390a2ce61322bde65c780 (patch)
treeb01a382eb6608112bb6361da406b6a56f0a7352c /conf.c
parent09c61f9b09b7bb80590a507b8b9643aa11677b0a (diff)
parent07b447fcbae051c55127a96c7117c1bfee1baa93 (diff)
downloadrsyslog-09a3d4ef122288c47a8390a2ce61322bde65c780.tar.gz
rsyslog-09a3d4ef122288c47a8390a2ce61322bde65c780.tar.xz
rsyslog-09a3d4ef122288c47a8390a2ce61322bde65c780.zip
Merge branch 'v3-stable' into beta
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index dac46970..e11c609f 100644
--- a/conf.c
+++ b/conf.c
@@ -230,6 +230,7 @@ doModLoad(uchar **pp, __attribute__((unused)) void* pVal)
ASSERT(pp != NULL);
ASSERT(*pp != NULL);
+ skipWhiteSpace(pp); /* skip over any whitespace */
if(getSubString(pp, (char*) szName, sizeof(szName) / sizeof(uchar), ' ') != 0) {
errmsg.LogError(NO_ERRCODE, "could not extract module name");
ABORT_FINALIZE(RS_RET_NOT_FOUND);