From 65b72b4aaa2a6a09ec8d91e20aa469af69497676 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 6 Aug 2016 03:09:35 +0200 Subject: If send fails with EPIPE, set errno to ECONNRESET instead MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsclient/comm.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libmdsclient/comm.h') diff --git a/src/libmdsclient/comm.h b/src/libmdsclient/comm.h index bb8f880..a162d0a 100644 --- a/src/libmdsclient/comm.h +++ b/src/libmdsclient/comm.h @@ -177,7 +177,6 @@ int libmds_connection_establish_address(libmds_connection_t* restrict this, * @throws ENOMEM See send(2) * @throws ENOTCONN See send(2) * @throws ENOTSOCK See send(2) - * @throws EPIPE See send(2) * @throws See pthread_mutex_lock(3) */ __attribute__((nonnull)) @@ -206,7 +205,6 @@ size_t libmds_connection_send(libmds_connection_t* restrict this, const char* re * @throws ENOMEM See send(2) * @throws ENOTCONN See send(2) * @throws ENOTSOCK See send(2) - * @throws EPIPE See send(2) */ __attribute__((nonnull)) size_t libmds_connection_send_unlocked(libmds_connection_t* restrict this, const char* restrict message, -- cgit v1.2.3-70-g09d2