]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Previously added %{gid} variable didn't actually work.
authorTimo Sirainen <tss@iki.fi>
Mon, 12 Dec 2011 04:07:33 +0000 (06:07 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 12 Dec 2011 04:07:33 +0000 (06:07 +0200)
src/lib-storage/mail-user.c

index b50806dee3662bf0917c390003c4904040f360c1..4ea4778aa2f1ab7fe965a4f447f4900d514cf20d 100644 (file)
@@ -212,6 +212,7 @@ mail_user_var_expand_table(struct mail_user *user)
                p_strdup(user->pool, net_ip2addr(user->remote_ip));
        tab[7].value = my_pid;
        tab[8].value = p_strdup(user->pool, dec2str(user->uid));
+       tab[9].value = p_strdup(user->pool, dec2str(user->gid));
 
        user->var_expand_table = tab;
        return user->var_expand_table;