GUAC-1452: Fix inverted logic for typescript alloc return value.

This commit is contained in:
Michael Jumper 2016-01-27 11:01:08 -08:00
parent 6297f11724
commit 0d5355560e

View File

@ -1842,7 +1842,7 @@ int guac_terminal_create_typescript(guac_terminal* term, const char* path,
term->typescript = guac_terminal_typescript_alloc(path, name, create_path);
/* Typescript creation failed if NULL */
return term->typescript != NULL;
return term->typescript == NULL;
}