Remove -O2, check rfbInitClient return value, provide return value in client init

This commit is contained in:
Michael Jumper
2010-09-20 18:13:32 -07:00
parent 72277b50aa
commit 79fabff39d
7 changed files with 26 additions and 12 deletions

View File

@@ -104,7 +104,9 @@ guac_client* guac_get_client(int client_fd, guac_client_registry* registry, guac
guac_flush(client->io);
}
client_init(client, argc, scratch_argv);
if (client_init(client, argc, scratch_argv) != 0)
return NULL;
break;
}