Skip to content

Commit

Permalink
Groups could only be defined by name. GIDs are alright now too.
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/cherokee/trunk@6045 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Dec 30, 2010
1 parent b171aeb commit 3ff6f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cherokee/source_interpreter.c
Expand Up @@ -315,7 +315,7 @@ cherokee_source_interpreter_configure (cherokee_source_interpreter_t *src,
struct group grp;
char tmp[GRNAM_BUF_LEN];

ret = cherokee_getgrnam (child->val.buf, &grp, tmp, sizeof(tmp));
ret = cherokee_getgrnam_gid (child->val.buf, &grp, tmp, sizeof(tmp));
if (ret != ret_ok) {
LOG_CRITICAL (CHEROKEE_ERROR_SRC_INTER_NO_GROUP, conf->val.buf, prio);
return ret_error;
Expand Down

0 comments on commit 3ff6f3c

Please sign in to comment.