GUACAMOLE-422: Remove NULL check for parser argv.

This commit is contained in:
Nick Couchman 2019-03-25 17:26:37 -04:00
parent 5caa8a25f7
commit 5480b288e8

View File

@ -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 */