diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-08-23 15:57:01 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-08-23 15:57:01 +0200 |
commit | b1eba5880803f8981d80ff452a2121407360e3d4 (patch) | |
tree | 964338b93fd226198ef12a4cbd796e57db7187d0 /src/irmd/main.c | |
parent | 7c19363bc062efd52f54cc76a06685f9a9a757b5 (diff) | |
download | ouroboros-b1eba5880803f8981d80ff452a2121407360e3d4.tar.gz ouroboros-b1eba5880803f8981d80ff452a2121407360e3d4.zip |
irmd: Fix wrong lookup
ap_table had no function to look for entries by apn.
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r-- | src/irmd/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 5366b535..8ac645df 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1364,7 +1364,8 @@ static struct irm_flow * flow_req_arr(pid_t api, pthread_mutex_lock(&re->state_lock); re->state = REG_NAME_AUTO_EXEC; - a = apn_table_get(&irmd->apn_table, reg_entry_get_apn(re)); + a = apn_table_get_by_apn(&irmd->apn_table, + reg_entry_get_apn(re)); pthread_mutex_unlock(&re->state_lock); if (a == NULL || (c_api->pid = auto_execute(a->argv)) < 0) { pthread_mutex_lock(&re->state_lock); |