/[mailutils]/mailutils/mailbox/imap/folder.c
ViewVC logotype

Diff of /mailutils/mailbox/imap/folder.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.63 by gray, Wed Sep 10 21:50:51 2003 UTC revision 1.64 by gray, Sun Sep 21 15:39:57 2003 UTC
# Line 278  authenticate_imap_sasl_anon (authority_t Line 278  authenticate_imap_sasl_anon (authority_t
278    if (check_capa (f_imap, "AUTH=ANONYMOUS"))    if (check_capa (f_imap, "AUTH=ANONYMOUS"))
279      {      {
280        FOLDER_DEBUG0 (folder, MU_DEBUG_PROT,        FOLDER_DEBUG0 (folder, MU_DEBUG_PROT,
281                       "ANONYMOUS capability not present disabled\n");                       "ANONYMOUS capability not present\n");
282        return ENOSYS;        return ENOSYS;
283      }      }
284    
# Line 678  folder_imap_open (folder_t folder, int f Line 678  folder_imap_open (folder_t folder, int f
678        assert (folder->authority);        assert (folder->authority);
679        {        {
680          status = authority_authenticate (folder->authority);          status = authority_authenticate (folder->authority);
681          CHECK_EAGAIN (f_imap, status);          if (status)
682              {
683                /* Fake folder_imap_close into closing the folder.
684                   FIXME: The entire state machine should probably
685                   be revised... */
686                f_imap->isopen++;
687                f_imap->state = IMAP_NO_STATE;
688                folder_imap_close (folder);
689                return status;
690              }
691        }        }
692    
693      case IMAP_AUTH_DONE:      case IMAP_AUTH_DONE:

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26