summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-08-26 09:44:38 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-08-26 09:44:38 +0000
commit6f38f372368c25e55ab0d8e00320d8d82c3d67c0 (patch)
tree75809abe9efc4698fad506be89338515f8c36ce2 /src
parentb95c08fa4cdc423b650b3d2b23bbbe3cd0f87c52 (diff)
parenta4bff697871c8cc7252d029d77b180e41e821f7e (diff)
downloadouroboros-6f38f372368c25e55ab0d8e00320d8d82c3d67c0.tar.gz
ouroboros-6f38f372368c25e55ab0d8e00320d8d82c3d67c0.zip
Merged in dstaesse/ouroboros/be-irmd-no-warn (pull request #571)
irmd: Don't warn on failed write to terminated IPCP
Diffstat (limited to 'src')
-rw-r--r--src/irmd/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index c8c75ef9..e72153ae 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2001,7 +2001,8 @@ void * mainloop(void * o)
free(apis);
if (write(sfd, buffer.data, buffer.len) == -1)
- log_warn("Failed to send reply message.");
+ if (ret_msg.result != -EIRMD)
+ log_warn("Failed to send reply message.");
free(buffer.data);
close(sfd);