aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/util.c2
-rw-r--r--src/mds-server.c2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/src/mds-server.c b/src/mds-server.c
index 08bd47e..f5e28ad 100644
--- a/src/mds-server.c
+++ b/src/mds-server.c
@@ -650,7 +650,7 @@ void message_received(client_t* client) /* TODO */
/* Send message. */
with_mutex(client->mutex,
- if (send_message(client->socket_fd, msgbuf, n) < n) /* TODO support EINTR*/
+ if (send_message(client->socket_fd, msgbuf, n) < n) /* TODO support EINTR */
perror(*argv);
);
free(msgbuf);