Error in documentation

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Oct 12 16:40:00 CEST 2012


On 10/12/2012 01:38 PM, MK wrote:

> 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. Updated.

regards,
Nikos





More information about the Gnutls-devel mailing list