[gnutls-devel] [PATCH] Fix docs for gnutls_transport_set_pull_timeout_function
Nikos Mavrogiannopoulos
nmav at gnutls.org
Tue Dec 18 10:25:12 CET 2012
Applied. Thanks.
On Tue, Dec 18, 2012 at 12:32 AM, Martin Storsjo <martin at martin.st> wrote:
> The timeout function returns int, not ssize_t.
> ---
> lib/system_override.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/system_override.c b/lib/system_override.c
> index df8c094..20d2ada 100644
> --- a/lib/system_override.c
> +++ b/lib/system_override.c
> @@ -97,7 +97,7 @@ gnutls_transport_set_pull_function (gnutls_session_t session,
> * The callback function is used in DTLS only.
> *
> * @gnutls_pull_timeout_func is of the form,
> - * ssize_t (*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int ms);
> + * int (*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int ms);
> *
> * Since: 3.0
> **/
> --
> 1.7.9.4
>
>
> _______________________________________________
> Gnutls-devel mailing list
> Gnutls-devel at lists.gnutls.org
> http://lists.gnupg.org/mailman/listinfo/gnutls-devel
More information about the Gnutls-devel
mailing list