diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-02 11:26:18 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-02 11:26:21 +0100 |
commit | e17f6c8d26d745751df4432bcf9eea1d1bf1732d (patch) | |
tree | 5341395ab79840f7817584631e8dc2a03cada470 | |
parent | 6b29f2e530ff1f455cdec572fc6d410aa2725876 (diff) | |
download | gnutls-tmp-tz-fix.tar.gz |
gnutls_heartbeat_allowed: corrected type on dummy wrappertmp-tz-fix
That is, when compiling without heartbeat support, compilation
could fail due to the dummy wrapper not returning the right
type.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-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 930d35026b..c459bfa779 100644 --- a/lib/ext/heartbeat.c +++ b/lib/ext/heartbeat.c @@ -538,7 +538,7 @@ void gnutls_heartbeat_enable(gnutls_session_t session, unsigned int type) { } -int gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int type) +unsigned gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int type) { return 0; } |