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) _______________________________________________ Help-gnutls mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnutls
