diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-06 09:30:01 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-04-06 09:30:01 +0000 |
commit | 34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915 (patch) | |
tree | d8e793cffbe829d64855eaa5a429b90ebe3dc3a4 /src/ipcpd/ipcp.c | |
parent | c6ad4f96f8bb2f1ee749e92308e7173523ddd0b8 (diff) | |
parent | e1c0714d5827cd927961f3a687d9720e6e9aa802 (diff) | |
download | ouroboros-34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915.tar.gz ouroboros-34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915.zip |
Merged in dstaesse/ouroboros/be-tim (pull request #464)
lib, irmd: Implement flow allocation timeout
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r-- | src/ipcpd/ipcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 4b7da030..f08e4ce7 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -296,7 +296,7 @@ static void * ipcp_main_loop(void * o) buffer.len = ipcp_msg__get_packed_size(&ret_msg); if (buffer.len == 0) { - log_err("Failed to send reply message"); + log_err("Failed to pack reply message"); close(lsockfd); thread_inc(); continue; @@ -304,6 +304,7 @@ static void * ipcp_main_loop(void * o) buffer.data = malloc(buffer.len); if (buffer.data == NULL) { + log_err("Failed to create reply buffer."); close(lsockfd); thread_inc(); continue; @@ -312,6 +313,7 @@ static void * ipcp_main_loop(void * o) ipcp_msg__pack(&ret_msg, buffer.data); if (write(lsockfd, buffer.data, buffer.len) == -1) { + log_err("Failed to send reply message"); free(buffer.data); close(lsockfd); thread_inc(); |