diff options
Diffstat (limited to 'src/exporting/send_data.c')
-rw-r--r-- | src/exporting/send_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporting/send_data.c b/src/exporting/send_data.c index b79f0a3e3..097b7fd4b 100644 --- a/src/exporting/send_data.c +++ b/src/exporting/send_data.c @@ -77,7 +77,7 @@ void simple_connector_receive_response(int *sock, struct instance *instance) ERR_clear_error(); #endif - errno = 0; + errno_clear(); // loop through to collect all data while (*sock != -1 && errno != EWOULDBLOCK) { |