gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error in documentation


From: MK
Subject: Error in documentation
Date: Fri, 12 Oct 2012 07:38:41 -0400

In the description of gnutls_global_set_audit_log_func, it says:

gnutls_audit_log_func is of the form, void (*gnutls_audit_log_func)
( gnutls_session_t, int level, const char*); 

This isn't true and leads to a compiler warning (good thing you defined
a type for the pointer!) and of course confusing behaviour.

gnutls_audit_log_func is actually defined in gnutls.h as:

void (*gnutls_audit_log_func) (gnutls_session_t, const char *)

Thanks -- MK

-- 
"Enthusiasm is not the enemy of the intellect." (said of Irving Howe)
"The angel of history[...]is turned toward the past." (Walter Benjamin)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]