From d4cc262156a899805323b0273e48246769201db4 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 4 Apr 2011 11:50:43 +0200 Subject: added one more testcase for sending TCP/TLS syslog --- tools/omfwd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/omfwd.c b/tools/omfwd.c index dc9bfd48..0957c77d 100644 --- a/tools/omfwd.c +++ b/tools/omfwd.c @@ -170,6 +170,10 @@ static char *getFwdPt(instanceData *pData) * This, for example, is needed after something went wrong. * This function is void because it "can not" fail. * rgerhards, 2008-06-04 + * Note that we DO NOT discard the current buffer contents + * (if any). This permits us to save data between sessions. In + * the wort case, some duplication occurs, but we do not + * loose data. */ static inline void DestructTCPInstanceData(instanceData *pData) -- cgit