From 9b2a36ee8da4e25d919a435f871cc1e0fee8eace Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 3 Mar 2021 23:54:34 +0100 Subject: Added handling for 0 length reads --- stream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stream.h') diff --git a/stream.h b/stream.h index a164981..f1bc32c 100644 --- a/stream.h +++ b/stream.h @@ -7,6 +7,7 @@ struct buffer char * data; int length; int offset; + int next; int allocated; }; -- cgit v1.1