summaryrefslogtreecommitdiffstats
path: root/runtime/nssel.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-30 17:41:17 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-30 17:41:17 +0200
commit1c2268faa836ca70a4d13dcad57818413990ac62 (patch)
tree30cb04d334938986d831cecf091dfebe7d883bdd /runtime/nssel.c
parentc370fc6305af0fc9c37f818d8b88726b899b0d0a (diff)
downloadrsyslog-1c2268faa836ca70a4d13dcad57818413990ac62.tar.gz
rsyslog-1c2268faa836ca70a4d13dcad57818413990ac62.tar.xz
rsyslog-1c2268faa836ca70a4d13dcad57818413990ac62.zip
restructured netstrm driver layer
the new structure prevents repetitive loads and unloads of driver files; it also has less overhead The "select" and regular driver are now contained in a single file.
Diffstat (limited to 'runtime/nssel.c')
-rw-r--r--runtime/nssel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/nssel.c b/runtime/nssel.c
index 50228208..d11d5fe1 100644
--- a/runtime/nssel.c
+++ b/runtime/nssel.c
@@ -82,7 +82,7 @@ loadDrvr(nssel_t *pThis)
* about this hack, but for the time being it is efficient and clean
* enough. -- rgerhards, 2008-04-18
*/
- CHKiRet(obj.UseObj(__FILE__, szDrvrName+2, szDrvrName, (void*) &pThis->Drvr));
+ CHKiRet(obj.UseObj(__FILE__, szDrvrName+2, DONT_LOAD_LIB, (void*) &pThis->Drvr));
finalize_it:
if(iRet != RS_RET_OK) {
@@ -110,7 +110,7 @@ CODESTARTobjDestruct(nssel)
* to release the driver
*/
if(pThis->pDrvrName != NULL) {
- obj.ReleaseObj(__FILE__, pThis->pDrvrName+2, pThis->pDrvrName, (void*) &pThis->Drvr);
+ obj.ReleaseObj(__FILE__, pThis->pDrvrName+2, DONT_LOAD_LIB, (void*) &pThis->Drvr);
free(pThis->pDrvrName);
}
ENDobjDestruct(nssel)