Error in documentation
MK
mk at cognitivedissonance.ca
Fri Oct 12 13:38:41 CEST 2012
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)
More information about the Gnutls-help
mailing list