Init total_written in open.
This commit is contained in:
parent
3e90251cb8
commit
8569803cd5
@ -64,6 +64,7 @@ GUACIO* guac_open(int fd) {
|
||||
GUACIO* io = malloc(sizeof(GUACIO));
|
||||
io->ready = 0;
|
||||
io->written = 0;
|
||||
io->total_written = 0;
|
||||
io->fd = fd;
|
||||
|
||||
/* Allocate instruction buffer */
|
||||
|
Loading…
Reference in New Issue
Block a user