diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-04 11:50:43 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-04 11:50:43 +0200 |
commit | d4cc262156a899805323b0273e48246769201db4 (patch) | |
tree | c7c8b228f24aaf829c4ab868e971c686025ad079 /tools | |
parent | 8653db699648321da785b3d5514fb67a7184411c (diff) | |
download | rsyslog-d4cc262156a899805323b0273e48246769201db4.tar.gz rsyslog-d4cc262156a899805323b0273e48246769201db4.tar.xz rsyslog-d4cc262156a899805323b0273e48246769201db4.zip |
added one more testcase for sending TCP/TLS syslog
Diffstat (limited to 'tools')
-rw-r--r-- | tools/omfwd.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |