aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-18 14:08:56 +0000
committerRoy Marples <roy@marples.name>2007-09-18 14:08:56 +0000
commit75b5fdff29d00508dc62ff848e63561bd9fe06a7 (patch)
tree3d7137ac93543a23f23af6f3bf15e0d763d91d3e /src/runscript.c
parentc8b03c96b7da55de503c8e3cdab8d49d7358dd17 (diff)
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runscript.c b/src/runscript.c
index 8057c99e..f7d49fb7 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -1049,7 +1049,7 @@ int runscript (int argc, char **argv)
/* Ensure our environment is pure
Also, add our configuration to it */
env = rc_filter_env ();
- env = rc_strlist_join (env, rc_make_env ());
+ rc_strlist_join (&env, rc_make_env ());
if (env) {
char *p;