aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-07 01:18:19 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-07 01:18:19 +0200
commitb99d70b8b832163680699186fb890e5d4ceee8d8 (patch)
tree896dd10a1bc39fc85bc6a73d13cfe6f2695206f8 /src
parentmisc (diff)
downloadmds-b99d70b8b832163680699186fb890e5d4ceee8d8.tar.gz
mds-b99d70b8b832163680699186fb890e5d4ceee8d8.tar.bz2
mds-b99d70b8b832163680699186fb890e5d4ceee8d8.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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);