summaryrefslogtreecommitdiff
path: root/lib/ext
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-31 07:38:50 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-31 07:39:10 +0100
commitbe67c7d260113f39f4c4a3adbd2769246b8a72d8 (patch)
treef9ac479084a3c41551fe516fe34f7e929554c342 /lib/ext
parentb4b2482af1502eb9663f399b35a39c9af6ce0bb5 (diff)
downloadgnutls-be67c7d260113f39f4c4a3adbd2769246b8a72d8.tar.gz
gnutls_heartbeat_allowed: corrected return type
This reflects better the fact that this function returns a boolean. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/ext')
-rw-r--r--lib/ext/heartbeat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/heartbeat.c b/lib/ext/heartbeat.c
index a1b6893fae..ac113b8e25 100644
--- a/lib/ext/heartbeat.c
+++ b/lib/ext/heartbeat.c
@@ -71,7 +71,7 @@ void gnutls_heartbeat_enable(gnutls_session_t session, unsigned int type)
*
* Since: 3.1.2
**/
-int gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int type)
+unsigned gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int type)
{
extension_priv_data_t epriv;