diff options
Diffstat (limited to 'mfd/prog.c')
-rw-r--r-- | mfd/prog.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1486,11 +1486,11 @@ instr_result(eval_environ_t env) sfsistat status = (sfsistat) get_immediate(env, 0); char *code, *xcode; char *message; - get_string_arg(env, 0, &message); - get_literal(env, 1, (const char**)&code); - get_literal(env, 2, (const char**)&xcode); + get_string_arg(env, 2, &message); + get_string_arg(env, 1, &xcode); + get_string_arg(env, 0, &code); if (PROG_TRACE_ENGINE) prog_trace(env, "RESULT %d %s %s %s", status, @@ -1512,10 +1512,10 @@ instr_result(eval_environ_t env) xcode = NULL; env->status = status; env->setreply(env->data, code, xcode, message); - advance_pc(env, 3); - adjust_stack(env, 1); + advance_pc(env, 1); + adjust_stack(env, 3); } void dump_result(prog_counter_t i) |