From de67a4a721c0fda9a9b5955f235baafba9ba393d Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 23 Oct 2026 21:48:58 +0200 Subject: Rework config file parser and tidy up mem inits --- ot_fullscrape.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ot_fullscrape.c') diff --git a/ot_fullscrape.c b/ot_fullscrape.c index b800431..39f51ec 100644 --- a/ot_fullscrape.c +++ b/ot_fullscrape.c @@ -20,7 +20,6 @@ /* Libowfat */ -#include "byte.h" #include "io.h" #include "textcode.h" @@ -222,7 +221,7 @@ static void fullscrape_make_gzip(int taskid, ot_tasktype mode) { if (!iovector.iov_base) return; - byte_zero(&strm, sizeof(strm)); + memset(&strm, 0, sizeof(strm)); strm.next_out = (uint8_t *)iovector.iov_base; strm.avail_out = OT_SCRAPE_CHUNK_SIZE; if (deflateInit2(&strm, 7, Z_DEFLATED, 31, 9, Z_DEFAULT_STRATEGY) != Z_OK) -- cgit v1.3