]> granicus.if.org Git - neomutt/commitdiff
Change the delimiter for imap_authenticators to a colon.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 5 Jun 2001 08:13:43 +0000 (08:13 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 5 Jun 2001 08:13:43 +0000 (08:13 +0000)
imap/auth.c
init.h

index c7037a3a588094048ac5f30c7b9f1532ee0ded57..1ce73e35ded49fb31771b6928c73c0dcdb033f9e 100644 (file)
@@ -48,7 +48,7 @@ int imap_authenticate (IMAP_DATA* idata)
 {
   imap_auth_t* authenticator;
   char* methods;
-  char* comma;
+  char* comma; /* should be colon  ;-) */
   char* method;
   int r = -1;
 
@@ -60,7 +60,7 @@ int imap_authenticate (IMAP_DATA* idata)
 
     while (method)
     {
-      comma = strchr (method, ',');
+      comma = strchr (method, ':');
       if (comma)
        *comma++ = '\0';
       dprint (2, (debugfile, "imap_authenticate: Trying method %s\n", method));
diff --git a/init.h b/init.h
index 88f68f1c01e7f4743542f778a6510f7e42ecf890..a4bbeea0a7962357ac390c20f054686c64b7458e 100644 (file)
--- a/init.h
+++ b/init.h
@@ -673,7 +673,7 @@ struct option_t MuttVars[] = {
   { "imap_authenticators", DT_STR, R_NONE, UL &ImapAuthenticators, UL 0 },
   /*
   ** .pp
-  ** This is a comma-delimited list of authentication methods mutt may
+  ** This is a colon-delimited list of authentication methods mutt may
   ** attempt to use to log in to an IMAP server, in the order mutt should
   ** try them.  Authentication methods are either 'login' or the right
   ** side of an IMAP 'AUTH=xxx' capability string, eg 'digest-md5',
@@ -681,7 +681,7 @@ struct option_t MuttVars[] = {
   ** parameter is unset (the default) mutt will try all available methods,
   ** in order from most-secure to least-secure.
   ** .pp
-  ** Example: set imap_authenticators="gssapi,cram-md5,login"
+  ** Example: set imap_authenticators="gssapi:cram-md5:login"
   ** .pp
   ** \fBNote:\fP Mutt will only fall back to other authentication methods if
   ** the previous methods are unavailable. If a method is available but