If length parse fails, return need for more data.

This commit is contained in:
Michael Jumper 2013-10-03 17:13:30 -07:00
parent e7c81cd9b3
commit 9910bedb4b

View File

@ -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;
}