imapext-2007

diff src/c-client/auth_log.c @ 4:d741b3ecc917

imapext-2007f
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 30 Oct 2014 00:03:05 +0900
parents 2366b362676d
children
line diff
     1.1 --- a/src/c-client/auth_log.c	Thu Oct 30 00:00:57 2014 +0900
     1.2 +++ b/src/c-client/auth_log.c	Thu Oct 30 00:03:05 2014 +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';

UW-IMAP'd extensions by yuuji