GUACAMOLE-221: Remove manual addition of null terminator
This commit is contained in:
parent
4318083511
commit
51b9c9c103
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user