summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-10-12 16:07:59 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-10-12 16:30:32 +0200
commit7abcc9be25efce7a0848bb2ba79d6f142df0cee9 (patch)
tree8f95983d988886fc59832564af1c0abe6af4ee0e /src/irmd/main.c
parent558fc46c63d28ce2ffd0abc5c737f49cc185ba82 (diff)
downloadouroboros-7abcc9be25efce7a0848bb2ba79d6f142df0cee9.tar.gz
ouroboros-7abcc9be25efce7a0848bb2ba79d6f142df0cee9.zip
irmd: Don't warn if server leaves
The irmd would log a warning when a server application quits during an accept call, but this is just a normal event. This removes the warning log. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 78fcf7b5..d3f7a09e 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2041,10 +2041,8 @@ static void * mainloop(void * o)
pthread_cleanup_pop(true);
pthread_cleanup_pop(false);
- if (result == -EPIPE) {
- log_warn("Peer closed socket.");
+ if (result == -EPIPE)
goto fail;
- }
ret_msg->has_result = true;
ret_msg->result = result;