Mercurial > hgrepos > hgweb.cgi > imapext
comparison src/c-client/mail.c @ 3:2366b362676d draft
imap-2007f
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 30 Oct 2014 00:00:57 +0900 |
parents | 28a55bc1110c |
children | d741b3ecc917 |
comparison
equal
deleted
inserted
replaced
2:fc6002700ecd | 3:2366b362676d |
---|---|
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 | |
6087 !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL))) ? | 6084 !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL))) ? |
6088 (*auth->server) (resp,argc,argv) : NIL; | 6085 (*auth->server) (resp,argc,argv) : NIL; |
6089 return NIL; /* no authenticator found */ | 6086 return NIL; /* no authenticator found */ |
6090 } | 6087 } |
6091 | 6088 |