From a3cf99501782fc036d415369eb5a5d805eb9bdcc Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 15 Jan 2017 20:14:36 +0000 Subject: [PATCH] Append needs to go old,new not new,old... --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index 811606b2..be7d4d9c 100644 --- a/options.c +++ b/options.c @@ -151,7 +151,7 @@ options_set_string(struct options *oo, const char *name, int append, if (o == NULL || !append) value = s; else { - xasprintf(&value, "%s%s", s, o->str); + xasprintf(&value, "%s%s", o->str, s); free(s); }