[gnutls-devel] [PATCH] Fix docs for gnutls_transport_set_pull_timeout_function

Martin Storsjo martin at martin.st
Mon Dec 17 23:32:50 CET 2012


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




More information about the Gnutls-devel mailing list