0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 17:28:18 +02:00
This commit is contained in:
William Pitcock 2008-08-17 07:47:06 -05:00
parent 065f67db89
commit 76de88805d

View file

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