From 3e95f0545729a43d4c0a7fe2b906783856db05fd Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 11 Dec 2007 16:26:22 +0000 Subject: fixed a potential race condition, see link for details: http://rgerhards.blogspot.com/2007/12/rsyslog-race-condition.html --- action.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'action.h') diff --git a/action.h b/action.h index c0cf19ad..9a24600a 100644 --- a/action.h +++ b/action.h @@ -25,6 +25,7 @@ #define ACTION_H_INCLUDED 1 #include "syslogd-types.h" +#include "sync.h" /* the following struct defines the action object data structure */ @@ -50,6 +51,7 @@ struct action_s { * content later). This is preserved after the message has been * processed - it is also used to detect duplicates. */ + SYNC_OBJ_TOOL; /* required for mutex support */ }; typedef struct action_s action_t; -- cgit