diff options
author | Maciej Borzecki <maciej.borzecki@open-rnd.pl> | 2015-05-21 14:20:48 +0200 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2015-05-21 10:08:22 -0700 |
commit | ed363ad6db549e9d3fa57f7ca761032eecb2a1a1 (patch) | |
tree | 64cbe203b5608133578092eb58b595f8b4a90f4b /librabbitmq/amqp_openssl.c | |
parent | da49600a13e47e6922ef58ad704f3c6a94fdffeb (diff) | |
download | rabbitmq-c-ed363ad6db549e9d3fa57f7ca761032eecb2a1a1.tar.gz |
amqp_openssl: *_ssl_send() should return number of bytes sentpr271
Function amqp_ssl_socket_send() should return the number of bytes
written. Retruning AMQP_STATUS_OK on success will cause all
amqp_socket_send() with SSL socket implementation to behave incorrectly.
Diffstat (limited to 'librabbitmq/amqp_openssl.c')
-rw-r--r-- | librabbitmq/amqp_openssl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c index de65185..c3c6294 100644 --- a/librabbitmq/amqp_openssl.c +++ b/librabbitmq/amqp_openssl.c @@ -113,7 +113,6 @@ amqp_ssl_socket_send(void *base, } } else { self->internal_error = 0; - res = AMQP_STATUS_OK; } return res; |