comparison src/c-client/mail.c @ 4:d741b3ecc917 draft

imapext-2007f
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 30 Oct 2014 00:03:05 +0900
parents 2366b362676d
children
comparison
equal deleted inserted replaced
3:2366b362676d 4:d741b3ecc917
6079 AUTHENTICATOR *auth; 6079 AUTHENTICATOR *auth;
6080 for (auth = mailauthenticators; auth; auth = auth->next) 6080 for (auth = mailauthenticators; auth; auth = auth->next)
6081 if (auth->server && !compare_cstring (auth->name,mechanism)) 6081 if (auth->server && !compare_cstring (auth->name,mechanism))
6082 return (!(auth->flags & AU_DISABLE) && 6082 return (!(auth->flags & AU_DISABLE) &&
6083 ((auth->flags & AU_SECURE) || 6083 ((auth->flags & AU_SECURE) ||
6084 #ifdef QMAIL
6085 getenv("INTRANET") ||
6086 #endif
6084 !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL))) ? 6087 !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL))) ?
6085 (*auth->server) (resp,argc,argv) : NIL; 6088 (*auth->server) (resp,argc,argv) : NIL;
6086 return NIL; /* no authenticator found */ 6089 return NIL; /* no authenticator found */
6087 } 6090 }
6088 6091

yatex.org