summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r--lib/gnutls_global.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 82f3ece254..4b0e70851b 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -83,11 +83,12 @@ void gnutls_global_set_send_func( SEND_FUNC send_func) {
/**
* gnutls_global_set_log_func - This function sets the logging function
- * @send_func: it's a send(2) like function
+ * @log_func: it's a log function
*
* This is the function were you set the logging function gnutls
- * is going to use. Normaly you may not use this function since
- * it is only used for debug reason.
+ * is going to use. This function only accepts a character array.
+ * Normaly you may not use this function since
+ * it is only used for debugging reasons.
**/
void gnutls_global_set_log_func( LOG_FUNC log_func) {
_gnutls_log_func = log_func;