diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 14:27:26 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 14:27:26 +0000 |
commit | 28c44e9a7bf4f99279af94a96bac42d0379b27d0 (patch) | |
tree | 7f66af0893f092d3212e3e34218d41973a3fe2cc /modules.c | |
parent | 4c24b427954166689b58562d68fefcfda7439ace (diff) | |
download | rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.tar.gz rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.tar.bz2 rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.zip |
- fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1a
was specified in rsyslog.conf
- fixed a bug that caused a segfault on queues with types other than "disk"
- removed the now longer needed thread TermSyncTool
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -216,7 +216,6 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)(), rsRetVal(*)()) DEFiRet; modInfo_t *pNew = NULL; rsRetVal (*modGetType)(eModType_t *pType); - rsRetVal (*modGetTermSyncType)(eTermSyncType_t *pType); assert(modInit != NULL); @@ -256,8 +255,6 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)(), rsRetVal(*)()) /* ... and now the module-specific interfaces */ switch(pNew->eType) { case eMOD_IN: - CHKiRet((*pNew->modQueryEtryPt)((uchar*)"getTermSyncType", &modGetTermSyncType)); - CHKiRet((iRet = (*modGetTermSyncType)(&pNew->mod.im.eTermSyncType)) != RS_RET_OK); CHKiRet((*pNew->modQueryEtryPt)((uchar*)"runInput", &pNew->mod.im.runInput)); CHKiRet((*pNew->modQueryEtryPt)((uchar*)"willRun", &pNew->mod.im.willRun)); CHKiRet((*pNew->modQueryEtryPt)((uchar*)"afterRun", &pNew->mod.im.afterRun)); |