From b99d70b8b832163680699186fb890e5d4ceee8d8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 7 May 2014 01:18:19 +0200 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsserver/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmdsserver/util.c') diff --git a/src/libmdsserver/util.c b/src/libmdsserver/util.c index b8b61d3..5780176 100644 --- a/src/libmdsserver/util.c +++ b/src/libmdsserver/util.c @@ -133,7 +133,7 @@ size_t send_message(int socket, const char* message, size_t length) if (block_size == 0) return sent; } - else if (errno != EINTR) + else return sent; } else -- cgit v1.2.3-70-g09d2