diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-03 15:57:30 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-03 15:57:30 +0200 |
commit | 597456c934bf0f9ec475ac89eaaf67e9a0c58c0e (patch) | |
tree | 720223fe47ca72d975a0b153889ae296fd14a08c /src | |
parent | d6449cd5ecc6a557eb25c9ed2048e3aa652da629 (diff) | |
parent | 2800b7bf007e32b2606d0f33edf27ac372182c88 (diff) | |
download | ouroboros-597456c934bf0f9ec475ac89eaaf67e9a0c58c0e.tar.gz ouroboros-597456c934bf0f9ec475ac89eaaf67e9a0c58c0e.zip |
Merged in dstaesse/ouroboros/be-irmd-gpb-fix (pull request #150)
Be irmd gpb fix
Diffstat (limited to 'src')
-rw-r--r-- | src/irmd/main.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index b14aa213..6e3fd74a 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -2106,8 +2106,11 @@ void * mainloop() msg->ap_name, &ret_msg.ae_name); - if (e == NULL) + if (e == NULL) { + ret_msg.has_result = true; + ret_msg.result = -1; break; + } ret_msg.has_port_id = true; ret_msg.port_id = e->port_id; @@ -2125,8 +2128,11 @@ void * mainloop() msg->dst_name, msg->ae_name, NULL); - if (e == NULL) + if (e == NULL) { + ret_msg.has_result = true; + ret_msg.result = -1; break; + } ret_msg.has_port_id = true; ret_msg.port_id = e->port_id; @@ -2145,8 +2151,11 @@ void * mainloop() e = flow_req_arr(msg->api, msg->dst_name, msg->ae_name); - if (e == NULL) + if (e == NULL) { + ret_msg.has_result = true; + ret_msg.result = -1; break; + } ret_msg.has_port_id = true; ret_msg.port_id = e->port_id; |