summaryrefslogtreecommitdiffhomepage
path: root/stream.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-03-03 23:54:34 +0100
committerAki <please@ignore.pl>2021-03-03 23:54:34 +0100
commit9b2a36ee8da4e25d919a435f871cc1e0fee8eace (patch)
treedd40449f43695c7ce3847bf74f4bbc479692d0dc /stream.h
parentd093136a39864bad7bb97b30d0244959d815ced1 (diff)
downloadplop-9b2a36ee8da4e25d919a435f871cc1e0fee8eace.zip
plop-9b2a36ee8da4e25d919a435f871cc1e0fee8eace.tar.gz
plop-9b2a36ee8da4e25d919a435f871cc1e0fee8eace.tar.bz2
Added handling for 0 length reads
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h1
1 files changed, 1 insertions, 0 deletions
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;
};