diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-31 07:38:50 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-31 07:39:10 +0100 |
commit | be67c7d260113f39f4c4a3adbd2769246b8a72d8 (patch) | |
tree | f9ac479084a3c41551fe516fe34f7e929554c342 /lib/ext/heartbeat.c | |
parent | b4b2482af1502eb9663f399b35a39c9af6ce0bb5 (diff) | |
download | gnutls-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/heartbeat.c')
-rw-r--r-- | lib/ext/heartbeat.c | 2 |
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; |