GUACAMOLE-422: Fix assignment of protocol version value in socket.

This commit is contained in:
Virtually Nick
2019-04-24 22:31:55 -04:00
parent 0f4ff0fe46
commit 377e93c518

View File

@@ -155,6 +155,7 @@ public class ConfiguredGuacamoleSocket implements GuacamoleSocket {
if (i == 0 && arg_name.startsWith("VERSION_")) { if (i == 0 && arg_name.startsWith("VERSION_")) {
protocol = GuacamoleProtocolVersion.valueOf(arg_name); protocol = GuacamoleProtocolVersion.valueOf(arg_name);
arg_values[i] = protocol.toString(); arg_values[i] = protocol.toString();
continue;
} }
// Get defined value for name // Get defined value for name