GUAC-622: Do not log a pointless error every time the client disconnects properly. Just stop the client - we have a function for that now.

This commit is contained in:
Michael Jumper 2014-04-14 12:20:08 -07:00
parent e1ac588296
commit 4d48dc384b

View File

@ -317,7 +317,8 @@ int __guac_handle_end(guac_client* client, guac_instruction* instruction) {
}
int __guac_handle_disconnect(guac_client* client, guac_instruction* instruction) {
/* Return error code to force disconnect */
return -1;
guac_client_log_info(client, "Disconnect requested. Stopping client...");
guac_client_stop(client);
return 0;
}