diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-24 18:27:52 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-24 18:27:52 +0200 |
commit | 75063e54b2a95416c0fd32b2ae1df9b8db776b5c (patch) | |
tree | cd4b0105a50585619be814a197c69723de3a9fa7 /plugins | |
parent | dd3e2cae9d3df243ed68c0bed1523a3b891eb893 (diff) | |
download | rsyslog-75063e54b2a95416c0fd32b2ae1df9b8db776b5c.tar.gz rsyslog-75063e54b2a95416c0fd32b2ae1df9b8db776b5c.tar.xz rsyslog-75063e54b2a95416c0fd32b2ae1df9b8db776b5c.zip |
bugfix: gtls und ptcp netstream driver communicated invalid iRet
This was introduced due to recent interface change.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imtcp/imtcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 4d31744d..49d48633 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -109,7 +109,7 @@ doRcvData(tcps_sess_t *pSess, char *buf, size_t lenBuf, ssize_t *piLenRcvd) assert(piLenRcvd != NULL); *piLenRcvd = lenBuf; - CHKiRet(netstrm.Rcv(pSess->pStrm, (uchar*) buf, piLenRcvd) != RS_RET_OK); + CHKiRet(netstrm.Rcv(pSess->pStrm, (uchar*) buf, piLenRcvd)); finalize_it: RETiRet; } |