From 9e5b6f355e2614dc9d4ea8bfa71bc4d095531479 Mon Sep 17 00:00:00 2001 From: nveid Date: Thu, 26 Oct 2006 10:07:57 +0000 Subject: [PATCH] progenvhotfix3 - stupid me.. reapplied fix wrong (cherry picked from commit 5b1b96d239e2b6a7c13cac69ed052df5b1222cc7) --- src/prog.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/prog.c b/src/prog.c index 7ad462e..a7b443a 100644 --- a/src/prog.c +++ b/src/prog.c @@ -483,9 +483,10 @@ prog_handler(DESC * d, char *input) rcnt = elist2arr(p_buf, NUMQ, safe_atr_value(a), '|'); for (i = 0; i < NUMQ && i < rcnt; i++) - if (p_buf[i] && strlen(p_buf[i]) > 0) - strcpy(global_eval_context.rnxt[i], p_buf[i]); - + if (p_buf[i] && strlen(p_buf[i]) > 0) { + strcpy(global_eval_context.renv[i], p_buf[i]); + global_eval_context.rnxt[i] = global_eval_context.renv[i]; + } } strcpy(buf, atr_value(d->pinfo.atr)); global_eval_context.wnxt[0] = input; -- 2.30.2