If length parse fails, return need for more data.
This commit is contained in:
parent
e7c81cd9b3
commit
9910bedb4b
@ -168,9 +168,12 @@ int guac_instruction_append(guac_instruction* instr,
|
||||
|
||||
}
|
||||
|
||||
return bytes_parsed;
|
||||
|
||||
} /* end parse content */
|
||||
|
||||
return bytes_parsed;
|
||||
/* If unable to move past reading length, parse failed */
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user