summaryrefslogtreecommitdiffstats
path: root/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-24 15:23:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-24 15:23:26 +0000
commit6c12035a999135fc06fdea5b6eb6f49b86c4b949 (patch)
treea67f7841b40bf39a09ee6b744c166d6372476ff6 /modules.c
parent6d231d5f159703bb13a2505e6de6c820a3ca05bc (diff)
downloadrsyslog-6c12035a999135fc06fdea5b6eb6f49b86c4b949.tar.gz
rsyslog-6c12035a999135fc06fdea5b6eb6f49b86c4b949.tar.xz
rsyslog-6c12035a999135fc06fdea5b6eb6f49b86c4b949.zip
added freeInstance() call to output module interface; re-structured
ressource release code in syslogd.c
Diffstat (limited to 'modules.c')
-rw-r--r--modules.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules.c b/modules.c
index 25f6b8cc..1565b31c 100644
--- a/modules.c
+++ b/modules.c
@@ -165,12 +165,10 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)()), uchar *name)
moduleDestruct(pNew);
return iRet;
}
-/* later...
if((iRet = (*pNew->modQueryEtryPt)((uchar*)"freeInstance", &pNew->freeInstance)) != RS_RET_OK) {
moduleDestruct(pNew);
return iRet;
}
-*/
pNew->pszName = (uchar*) strdup((char*)name); /* we do not care if strdup() fails, we can accept that */
pNew->eType = eMOD_OUT; /* TODO: take this from module */