GUACAMOLE-221: Remove manual addition of null terminator

This commit is contained in:
Nick Couchman 2020-04-08 22:46:29 -04:00
parent 4318083511
commit 51b9c9c103

View File

@ -115,7 +115,6 @@ static int guac_rdp_argv_end_handler(guac_user* user,
/* Append null terminator to value */ /* Append null terminator to value */
guac_rdp_argv* argv = (guac_rdp_argv*) stream->data; guac_rdp_argv* argv = (guac_rdp_argv*) stream->data;
argv->buffer[argv->length] = '\0';
/* Apply changes to chosen setting */ /* Apply changes to chosen setting */
switch (argv->setting) { switch (argv->setting) {