diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-21 10:37:59 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-21 10:37:59 +0200 |
commit | 596383988792635f128cb645c9b7c8aae50453e6 (patch) | |
tree | 5e5ba6dc03b6e9b687b09f49828b5a1fcdda1cda /action.c | |
parent | 8624f937523c1ca78cc1d78b8eba18f628ae9ab5 (diff) | |
parent | daa76ad94428599336ddafdd6854dc0b71356180 (diff) | |
download | rsyslog-596383988792635f128cb645c9b7c8aae50453e6.tar.gz rsyslog-596383988792635f128cb645c9b7c8aae50453e6.tar.bz2 rsyslog-596383988792635f128cb645c9b7c8aae50453e6.zip |
Merge branch 'v4-devel' into v4-beta
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,6 +43,7 @@ #include "srUtils.h" #include "errmsg.h" #include "datetime.h" +#include "unicode-helper.h" /* forward definitions */ rsRetVal actionCallDoAction(action_t *pAction, msg_t *pMsg); @@ -780,7 +781,7 @@ doActionCallAction(action_t *pAction, msg_t *pMsg) /* suppress duplicate messages */ if ((pAction->f_ReduceRepeated == 1) && pAction->f_pMsg != NULL && (pMsg->msgFlags & MARK) == 0 && getMSGLen(pMsg) == getMSGLen(pAction->f_pMsg) && - !strcmp(getMSG(pMsg), getMSG(pAction->f_pMsg)) && + !ustrcmp(getMSG(pMsg), getMSG(pAction->f_pMsg)) && !strcmp(getHOSTNAME(pMsg), getHOSTNAME(pAction->f_pMsg)) && !strcmp(getPROCID(pMsg, LOCK_MUTEX), getPROCID(pAction->f_pMsg, LOCK_MUTEX)) && !strcmp(getAPPNAME(pMsg, LOCK_MUTEX), getAPPNAME(pAction->f_pMsg, LOCK_MUTEX))) { |