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 /module-template.h | |
parent | 4c24b427954166689b58562d68fefcfda7439ace (diff) | |
download | rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.tar.gz rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.tar.xz 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 'module-template.h')
-rw-r--r-- | module-template.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/module-template.h b/module-template.h index 3b6ebb69..ecd6fe6d 100644 --- a/module-template.h +++ b/module-template.h @@ -334,8 +334,6 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())\ CODEqueryEtryPt_STD_MOD_QUERIES \ else if(!strcmp((char*) name, "runInput")) {\ *pEtryPoint = runInput;\ - } else if(!strcmp((char*) name, "getTermSyncType")) {\ - *pEtryPoint = modGetTermSyncType;\ } else if(!strcmp((char*) name, "willRun")) {\ *pEtryPoint = willRun;\ } else if(!strcmp((char*) name, "afterRun")) {\ @@ -471,16 +469,6 @@ static rsRetVal afterRun(void)\ } -/* method to return which termination sync method is used by this module. - */ -#define TERM_SYNC_TYPE(x) \ -static rsRetVal modGetTermSyncType(eTermSyncType_t *pTermSync)\ -{\ - assert(pTermSync != NULL); \ - *pTermSync = (x);\ - return RS_RET_OK;\ -} - /* * vi:set ai: */ |