diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:34:15 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:34:15 +0000 |
commit | 463e2d8f186e631d07cf8e45b62c725fbc817f8e (patch) | |
tree | 64effabde05b72c3e898aba71668b3b6c6be75e8 | |
parent | 3141c15442cdb669d6e5a609011e655e2b1e8815 (diff) | |
download | rsyslog-463e2d8f186e631d07cf8e45b62c725fbc817f8e.tar.gz rsyslog-463e2d8f186e631d07cf8e45b62c725fbc817f8e.tar.xz rsyslog-463e2d8f186e631d07cf8e45b62c725fbc817f8e.zip |
a small inline doc fix
-rw-r--r-- | syslogd.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2492,9 +2492,11 @@ static rsRetVal callAction(msg_t *pMsg, action_t *pAction) if(pAction->f_pMsg != NULL) { if(pAction->f_prevcount > 0) CHKiRet(fprintlog(pAction)); - /* we do not care about iRet above - I think it's right but if we have - * some troubles, you know where to look at ;) -- rgerhards, 2007-08-01 - */ + /* if we run into trouble (most importantly a suspended + * action), we keep the old message (by virtue of not + * destructing it) and discard the new one (done + * automatically when we return. + */ MsgDestruct(pAction->f_pMsg); } pAction->f_pMsg = MsgAddRef(pMsg); |