summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-07-09 09:34:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-07-09 09:34:47 +0200
commit1280d7d5d4e67fcd2de8cfb52cea94b4222e9553 (patch)
tree0393564ef0bdbdcc87b5bd7c51809f1aa4f11ebf
parenta88e8a14468be5b0ca349c7bc18b2ce8368bcae7 (diff)
downloadrsyslog-1280d7d5d4e67fcd2de8cfb52cea94b4222e9553.tar.gz
rsyslog-1280d7d5d4e67fcd2de8cfb52cea94b4222e9553.tar.bz2
rsyslog-1280d7d5d4e67fcd2de8cfb52cea94b4222e9553.zip
fix compile problem in debug build
-rw-r--r--ChangeLog1
-rw-r--r--plugins/imptcp/imptcp.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 02483460..8fea2e84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@ Version 7.5.3 [devel] 2013-07-??
more or less cosmetic, a single memory block was not freed, but this
only happens immediately before termination (when the OS automatically
frees all memory). Still an annoyance e.g. in valgrind.
+- fix compile problem in debug build
---------------------------------------------------------------------------
Version 7.5.2 [devel] 2013-07-04
- librelp 1.1.4 is now required
diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c
index d3a29470..a8910a07 100644
--- a/plugins/imptcp/imptcp.c
+++ b/plugins/imptcp/imptcp.c
@@ -863,8 +863,6 @@ DataRcvdCompressed(ptcpsess_t *pThis, char *buf, size_t len)
// by simply updating the input and output sizes?
uint64_t outtotal;
- assert(iLen > 0);
-
datetime.getCurrTime(&stTime, &ttGenTime);
outtotal = 0;