2 Oct
2008
2 Oct
'08
11:05 a.m.
Hello! Names of groups should be stored in backend memory pool. --- acl-backend.c.old 2008-10-02 11:43:05.000000000 +0400 +++ acl-backend.c 2008-10-02 11:43:48.000000000 +0400 @@ -62,7 +62,7 @@ backend->groups = p_new(backend->pool, const char *, group_count); for (i = 0; i < group_count; i++) - backend->groups[i] = groups[i]; + backend->groups[i] = p_strdup(backend->pool, groups[i]); qsort(backend->groups, group_count, sizeof(const char *), i_strcmp_p); } With best regards, Anton Zakatov. E-mail: anton@abn.ru