summaryrefslogtreecommitdiffstats
path: root/wti.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-30 15:59:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-30 15:59:02 +0000
commit05538a2bad4f9a2c1be7a50099e30ab22249a2ff (patch)
tree8b02cc54643e52f5edaa4e89d2c049a55f9ab3d5 /wti.c
parent4f1aea94c0105c4672b8ce1bb8f48b0376ad0929 (diff)
downloadrsyslog-05538a2bad4f9a2c1be7a50099e30ab22249a2ff.tar.gz
rsyslog-05538a2bad4f9a2c1be7a50099e30ab22249a2ff.tar.xz
rsyslog-05538a2bad4f9a2c1be7a50099e30ab22249a2ff.zip
fixed bug during cancel processing
Diffstat (limited to 'wti.c')
-rw-r--r--wti.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wti.c b/wti.c
index f938be3b..a1b60254 100644
--- a/wti.c
+++ b/wti.c
@@ -321,6 +321,7 @@ wtiWorker(wti_t *pThis)
ISOBJ_TYPE_assert(pWtp, wtp);
dbgSetThrdName(pThis->pszDbgHdr);
+ pThis->pUsrp = NULL;
pthread_cleanup_push(wtiWorkerCancelCleanup, pThis);
BEGIN_MTX_PROTECTED_OPERATIONS(pWtp->pmutUsr, LOCK_MUTEX);