[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in documentation
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: Error in documentation |
Date: |
Fri, 12 Oct 2012 16:40:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120805 Icedove/10.0.6 |
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