comparison src/c-client/mail.c @ 1:28a55bc1110c imapext-2007-1

[mq]: imapext
author yuuji@gentei.org
date Mon, 14 Sep 2009 19:23:11 +0900
parents ada5e610ab86
children 2366b362676d
comparison
equal deleted inserted replaced
0:ada5e610ab86 1:28a55bc1110c
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