summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-03 11:40:13 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-03 11:40:13 +0100
commitfeddb2cc8fa213725a14e556d0366aef8d3a4339 (patch)
treebefc6075cf0e147c4565cd021701142b25bbbd99 /action.c
parent40fffde2b6a36ba12388b89d422104c258a667f7 (diff)
downloadrsyslog-feddb2cc8fa213725a14e556d0366aef8d3a4339.tar.gz
rsyslog-feddb2cc8fa213725a14e556d0366aef8d3a4339.tar.bz2
rsyslog-feddb2cc8fa213725a14e556d0366aef8d3a4339.zip
queue: change gerenic queue pUsr ptr to be action_t
this was always action_t, but the initial design was more generic. We are making it specific now in order to gain better performance (after all, we did not need the generic engine in the past 8 years...)
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index 58ada67c..e31ebd51 100644
--- a/action.c
+++ b/action.c
@@ -438,7 +438,7 @@ actionConstructFinalize(action_t *pThis, struct cnfparamvals *queueParams)
CHKiRet(qqueueConstruct(&pThis->pQueue, cs.ActionQueType, 1, cs.iActionQueueSize,
(rsRetVal (*)(void*, batch_t*, int*))processBatchMain));
obj.SetName((obj_t*) pThis->pQueue, pszAName);
- qqueueSetpUsr(pThis->pQueue, pThis);
+ qqueueSetpAction(pThis->pQueue, pThis);
if(queueParams == NULL) { /* use legacy params? */
/* ... set some properties ... */