aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-18 11:36:26 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-18 11:36:26 +0000
commit827e72091194d2c87f7b81d5fd6d8b2204f55e1c (patch)
tree7aec682479e6fb83589a6e4d7c02ccfbe60f7f28 /main.py
parentupdate (diff)
downloadfaultreiber-827e72091194d2c87f7b81d5fd6d8b2204f55e1c.tar.gz
faultreiber-827e72091194d2c87f7b81d5fd6d8b2204f55e1c.zip
update
Diffstat (limited to '')
-rwxr-xr-xmain.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 53519f1..640734d 100755
--- a/main.py
+++ b/main.py
@@ -558,6 +558,7 @@ class CodeGen(object):
agg_source_h.write(self.argparser.args.name + "_lib_ret_t* read_aggr_"+self.argparser.args.name+"(int _fd);\n")
agg_source.write("uint8_t eof = 0U;")
agg_source.write("lib_ret->current_void_count = 0;\n")
+ agg_source.write("lib_ret->current_void_size = 0;\n")
for elem in self.read_elems:
if "unorderedbegin" in elem.attrib:
agg_source.write("do {\n")