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

This commit is contained in:
Michael Jumper committed 2010-09-20 18:13:32 -07:00
1 parent 72277b50aa
commit 79fabff39d
7 files changed
+26 -12

No files matched your search

+3 -1
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;
}