summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-22 14:22:22 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-22 14:22:22 +0100
commita28a31feeab1bec5f4c74e3b6121f866f68eac54 (patch)
tree7d55e98ef9a7c162e3dde5913185932d203d458e
parent1ddb082cfa1ca6bb7b8c44ce760ccd4200e1f2f7 (diff)
downloadrsyslog-a28a31feeab1bec5f4c74e3b6121f866f68eac54.tar.gz
rsyslog-a28a31feeab1bec5f4c74e3b6121f866f68eac54.tar.xz
rsyslog-a28a31feeab1bec5f4c74e3b6121f866f68eac54.zip
previous (experimental) patch was somewhat incorrect, fixed
This is what caused the new test to fail...
-rw-r--r--tools/omfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index f4db7dab..0f27f1e9 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -633,8 +633,8 @@ CODESTARTdoAction
/* TODO v5: do this in endTransaction only! */
CHKiRet(strm.Flush(pData->pStrm));
}
- d_pthread_mutex_unlock(&pData->mutEx);
finalize_it:
+ d_pthread_mutex_unlock(&pData->mutEx);
ENDdoAction