Restore parsing of color depth

This commit is contained in:
Michael Jumper 2013-08-28 16:16:55 -07:00
parent 2216d23bee
commit cf05203992

View File

@ -213,6 +213,9 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
/* Freed after use by libvncclient */
guac_client_data->password = strdup(argv[IDX_PASSWORD]);
/* Parse color depth */
guac_client_data->color_depth = atoi(argv[IDX_COLOR_DEPTH]);
#ifdef ENABLE_VNC_REPEATER
/* Set repeater parameters if specified */
if (argv[IDX_DEST_HOST][0] != '\0')