From: nveid Date: Thu, 26 Oct 2006 10:07:57 +0000 (+0000) Subject: progenvhotfix3 - stupid me.. reapplied fix wrong X-Git-Tag: 0.72p2~9 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=9e5b6f355e2614dc9d4ea8bfa71bc4d095531479;p=cobramush.git progenvhotfix3 - stupid me.. reapplied fix wrong (cherry picked from commit 5b1b96d239e2b6a7c13cac69ed052df5b1222cc7) --- 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;