diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-08-30 15:44:53 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-08-30 20:54:44 +0200 |
commit | 8fed4038d83d63941fe3e488a0a4103d38c48529 (patch) | |
tree | 721f6f03558f79fe6e9ffcd86066f7d3056d82e1 | |
parent | c163cb701314b487f18bd824307eb76eb05d185a (diff) | |
download | gnutls-8fed4038d83d63941fe3e488a0a4103d38c48529.tar.gz |
Corrected error checking in _gnutls_send_int().
-rw-r--r-- | lib/gnutls_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c index 37ef582efa..d083fad490 100644 --- a/lib/gnutls_record.c +++ b/lib/gnutls_record.c @@ -352,7 +352,7 @@ _gnutls_send_int (gnutls_session_t session, content_type_t type, size_t sizeofdata, unsigned int mflags) { mbuffer_st *bufel; - size_t cipher_size; + ssize_t cipher_size; int retval, ret; int data2send_size; uint8_t headers[5]; |