mirror of
https://github.com/matrix-construct/construct
synced 2025-02-17 01:00:10 +01:00
same bug
This commit is contained in:
parent
065f67db89
commit
76de88805d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ privilegeset_extend(struct PrivilegeSet *parent, const char *name, const char *p
|
|||
set->name = rb_strdup(name);
|
||||
set->flags = flags;
|
||||
set->privs = rb_malloc(strlen(parent->privs) + 1 + strlen(privs) + 1);
|
||||
strcpy(parent->privs, set->privs);
|
||||
strcpy(set->privs, parent->privs);
|
||||
strcat(set->privs, " ");
|
||||
strcat(set->privs, privs);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue