diff options
Diffstat (limited to 'mfd/prog.c')
-rw-r--r-- | mfd/prog.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1487,9 +1487,9 @@ instr_result(eval_environ_t env) 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", @@ -1513,8 +1513,8 @@ instr_result(eval_environ_t env) 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 |