aboutsummaryrefslogtreecommitdiff
path: root/src/url.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-06-01 20:31:39 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-06-01 21:12:52 +0200
commitc96cd51fe73fddb4e9188e4f857938d33f386664 (patch)
tree36378331b5fe2415ef18a363608757883fc47bae /src/url.h
parentc8080eb22362630b7a735d30da55dd23779cd83c (diff)
Don't call SSL_get_error() with pending data
When a positive non-zero value is returned from SSL_read or SSL_write, there is data read or written, so there is no need to check for errors. Only in the case the return value is 0 or negative.
Diffstat (limited to 'src/url.h')
0 files changed, 0 insertions, 0 deletions