summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-08-12 10:46:58 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-08-12 10:46:58 +0200
commitd7bc0f1f1e81ca0fa678b945962574112df949bc (patch)
tree763e12ab4d60f75daa430b76901c11aba7821f44
parentb04d9d6f38b849a996415e0d85add642c375181b (diff)
downloadrsyslog-d7bc0f1f1e81ca0fa678b945962574112df949bc.tar.gz
rsyslog-d7bc0f1f1e81ca0fa678b945962574112df949bc.tar.xz
rsyslog-d7bc0f1f1e81ca0fa678b945962574112df949bc.zip
some very minor cleanup
-rw-r--r--runtime/queue.c1
-rw-r--r--tools/syslogd.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/runtime/queue.c b/runtime/queue.c
index 00f811a0..7e7d4152 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -2115,7 +2115,6 @@ queueEnqObj(queue_t *pThis, flowControl_t flowCtlType, void *pUsr)
if(pThis->bIsDA)
CHKiRet(queueChkStrtDA(pThis));
-
/* handle flow control
* There are two different flow control mechanisms: basic and advanced flow control.
* Basic flow control has always been implemented and protects the queue structures
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 5bdaa679..ad28ff22 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -2685,7 +2685,6 @@ static rsRetVal loadBuildInModules(void)
* is that rsyslog will terminate if we can not register our built-in config commands.
* This, I think, is the right thing to do. -- rgerhards, 2007-07-31
*/
-// CHKiRet(regCfSysLineHdlr((uchar *)"workdirectory", 0, eCmdHdlrGetWord, NULL, &pszWorkDir, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"actionresumeretrycount", 0, eCmdHdlrInt, NULL, &glbliActionResumeRetryCount, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuefilename", 0, eCmdHdlrGetWord, NULL, &pszMainMsgQFName, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuesize", 0, eCmdHdlrInt, NULL, &iMainMsgQueueSize, NULL));