diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-02-04 14:46:30 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-02-05 14:17:46 +0100 |
commit | 7e096fe7a3b7a777164bcf6be981826c5992fdfc (patch) | |
tree | 03b8c979bc09ed018300694533421320d07e5ea2 /src | |
parent | 3db51adc7cceaf810dc8312ff95e9d8ccb96154b (diff) | |
download | ouroboros-0.9.8.tar.gz ouroboros-0.9.8.zip |
irmd: Fix lookup of program for autoexecution0.9.8
Autoexecution failed because the lookup for the program was for the
wrong field of the progtable.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src')
-rw-r--r-- | src/irmd/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 1e794139..e9446ade 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1449,8 +1449,8 @@ static struct irm_flow * flow_req_arr(pid_t pid, } reg_entry_set_state(re, REG_NAME_AUTO_EXEC); - a = prog_table_get_by_progn(&irmd.prog_table, - reg_entry_get_prog(re)); + a = prog_table_get(&irmd.prog_table, + reg_entry_get_prog(re)); if (a == NULL || (c_pid->pid = auto_execute(a->argv)) < 0) { reg_entry_set_state(re, REG_NAME_AUTO_ACCEPT); |