From a5fdb711c5028c39b8cd1b54b4a1ea08e7145187 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 13 Mar 2012 15:54:55 -0700 Subject: [PATCH] Fix documentation of log handlers. --- libguac/include/client.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libguac/include/client.h b/libguac/include/client.h index 6f6f768e..57852c5d 100644 --- a/libguac/include/client.h +++ b/libguac/include/client.h @@ -344,9 +344,7 @@ struct guac_client { * * void function_of_daemon() { * - * guac_client* client = [client from guac_client_plugin_get_client()]; - * - * client->log_info_handler = log_handler; + * guac_client* client = [pass log_handler to guac_client_plugin_get_client()]; * * } * @endcode @@ -371,9 +369,7 @@ struct guac_client { * * void function_of_daemon() { * - * guac_client* client = [client from guac_client_plugin_get_client()]; - * - * client->log_error_handler = log_handler; + * guac_client* client = [pass log_handler to guac_client_plugin_get_client()]; * * } * @endcode