Append needs to go old,new not new,old...

This commit is contained in:
nicm 2017-01-15 20:14:36 +00:00
parent e06efab9da
commit a3cf995017

View File

@ -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);
}