Fixed NPE in reader when connection closed during negotiaion. Added getRequiredProperty().

This commit is contained in:
Michael Jumper committed 2011-08-25 00:22:14 -07:00
1 parent de526911a5
commit e3260ca3e9
2 files changed
+28

No files matched your search

@@ -124,6 +124,10 @@ public class ReaderGuacamoleReader implements GuacamoleReader {
instructionStart = 0;
}
// If EOF, return EOF
if (instructionBuffer == null)
return null;
// Locate end-of-opcode and end-of-instruction
int opcodeEnd = -1;
int instructionEnd = -1;