GUACAMOLE-422: Remove NULL check for parser argv.
This commit is contained in:
parent
5caa8a25f7
commit
5480b288e8
@ -408,7 +408,7 @@ int guac_user_handle_connection(guac_user* user, int usec_timeout) {
|
|||||||
|
|
||||||
/* Store timezone, if present */
|
/* Store timezone, if present */
|
||||||
char* timezone = parser->argv[0];
|
char* timezone = parser->argv[0];
|
||||||
if (timezone != NULL && !strcmp(timezone, ""))
|
if (!strcmp(timezone, ""))
|
||||||
user->info.timezone = (const char*) timezone;
|
user->info.timezone = (const char*) timezone;
|
||||||
|
|
||||||
/* Get args from connect instruction */
|
/* Get args from connect instruction */
|
||||||
|
Loading…
Reference in New Issue
Block a user