imapext-2007
diff src/c-client/auth_log.c @ 1:28a55bc1110c
[mq]: imapext
author | yuuji@gentei.org |
---|---|
date | Mon, 14 Sep 2009 19:23:11 +0900 |
parents | ada5e610ab86 |
children | 2366b362676d |
line diff
1.1 --- a/src/c-client/auth_log.c Mon Sep 14 15:17:45 2009 +0900 1.2 +++ b/src/c-client/auth_log.c Mon Sep 14 19:23:11 2009 +0900 1.3 @@ -105,6 +105,10 @@ 1.4 char *ret = NIL; 1.5 char *user,*pass,*authuser; 1.6 if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { 1.7 +#ifdef QMAIL 1.8 + extern char* conv_virtualdomain(char*); 1.9 + user = conv_virtualdomain(user); 1.10 +#endif 1.11 if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { 1.12 /* delimit user from possible admin */ 1.13 if (authuser = strchr (user,'*')) *authuser++ = '\0';