diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-24 09:45:19 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-24 09:45:19 +0000 |
commit | f97c90d12b9ae64a64cde84bb3fa3ca5ee207838 (patch) | |
tree | f308e54af6d65da17e398dd0964aa70b97a8cee4 /modules.c | |
parent | f48f11f50e9337e499e6e7b56ca3f143cb55f181 (diff) | |
download | rsyslog-f97c90d12b9ae64a64cde84bb3fa3ca5ee207838.tar.gz rsyslog-f97c90d12b9ae64a64cde84bb3fa3ca5ee207838.tar.xz rsyslog-f97c90d12b9ae64a64cde84bb3fa3ca5ee207838.zip |
moved discard functionality to an output module
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -160,6 +160,11 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)()), uchar *name) moduleDestruct(pNew); return iRet; } + if((iRet = (*pNew->modQueryEtryPt)((uchar*)"isCompatibleWithFeature", + &pNew->isCompatibleWithFeature)) != RS_RET_OK) { + moduleDestruct(pNew); + return iRet; + } /* later... if((iRet = (*pNew->modQueryEtryPt)((uchar*)"freeInstance", &pNew->freeInstance)) != RS_RET_OK) { moduleDestruct(pNew); |