diff --git a/src/addclub.c b/src/addclub.c index fb26587..2069c2a 100644 --- a/src/addclub.c +++ b/src/addclub.c @@ -59,13 +59,13 @@ int addclub() { snprintf(homedir, sizeof(homedir), "%s/%s", club_home, userid); snprintf(acl_s, sizeof(acl_s), club_home_acl, userid); - acl = acl_from_text(club_home_acl); + acl = acl_from_text(acl_s); if (acl == NULL) fatalpe("Unable to parse club_home_acl"); if (*club_home_acl) { snprintf(dacl_s, sizeof(dacl_s), club_home_dacl, userid); - dacl = acl_from_text(club_home_dacl); + dacl = acl_from_text(dacl_s); if (dacl == NULL) fatalpe("Unable to parse club_home_dacl"); } diff --git a/src/addmember.c b/src/addmember.c index 581bbb3..ea4d1eb 100644 --- a/src/addmember.c +++ b/src/addmember.c @@ -64,13 +64,13 @@ int addmember() { snprintf(homedir, sizeof(homedir), "%s/%s", member_home, userid); snprintf(acl_s, sizeof(acl_s), club_home_acl, userid); - acl = acl_from_text(member_home_acl); + acl = acl_from_text(acl_s); if (acl == NULL) fatalpe("Unable to parse member_home_acl"); if (*member_home_acl) { snprintf(dacl_s, sizeof(dacl_s), club_home_dacl, userid); - dacl = acl_from_text(member_home_dacl); + dacl = acl_from_text(dacl_s); if (dacl == NULL) fatalpe("Unable to parse member_home_dacl"); }