Mercurial > hgrepos > hgweb.cgi > imapext
diff src/c-client/auth_log.c @ 4:d741b3ecc917 draft
imapext-2007f
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 30 Oct 2014 00:03:05 +0900 |
parents | 2366b362676d |
children |
line wrap: on
line diff
--- a/src/c-client/auth_log.c Thu Oct 30 00:00:57 2014 +0900 +++ b/src/c-client/auth_log.c Thu Oct 30 00:03:05 2014 +0900 @@ -105,6 +105,10 @@ char *ret = NIL; char *user,*pass,*authuser; if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { +#ifdef QMAIL + extern char* conv_virtualdomain(char*); + user = conv_virtualdomain(user); +#endif if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { /* delimit user from possible admin */ if (authuser = strchr (user,'*')) *authuser++ = '\0';