diff --git a/modules/access_filter/dump.c b/modules/access_filter/dump.c index 38139d0adfa6b13f73c570ec71e8125c0c71f5ba..b22c7f433c3eed1549a97b4a6705e04e93420792 100644 --- a/modules/access_filter/dump.c +++ b/modules/access_filter/dump.c @@ -25,7 +25,6 @@ #include <stdio.h> #include <stdlib.h> -#include <assert.h> #include <time.h> #include <errno.h> @@ -166,7 +165,6 @@ static void Dump (access_t *access, const uint8_t *buffer, size_t len) goto error; } - assert (len > 0); if (fwrite (buffer, len, 1, stream) != 1) { msg_Err (access, "cannot write to file: %s", strerror (errno));