fix another stupid bug, gah
This commit is contained in:
parent
f80958276f
commit
065f67db89
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ conf_set_privset_privs(void *data)
|
|||
char *privs_old = privs;
|
||||
|
||||
privs = rb_malloc(strlen(privs_old) + 1 + strlen(args->v.string) + 1);
|
||||
strcpy(privs_old, privs);
|
||||
strcpy(privs, privs_old);
|
||||
strcat(privs, " ");
|
||||
strcat(privs, args->v.string);
|
||||
|
||||
|
|
Loading…
Reference in a new issue