]> granicus.if.org Git - mutt/commitdiff
Make host name comparison case-insensitive.
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 9 Apr 2000 12:41:22 +0000 (12:41 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 9 Apr 2000 12:41:22 +0000 (12:41 +0000)
imap/socket.c

index d8151c95b7e2bf0af5c279ada0940c1e8020be70..fc2e1db1b1a284cd09d7eae37d50e88271f42a80 100644 (file)
@@ -121,7 +121,7 @@ CONNECTION *mutt_socket_select_connection (const IMAP_MBOX *mx, int newconn)
     conn = Connections;
     while (conn)
     {
-      if (!mutt_strcmp (mx->host, conn->mx.host) && (mx->port == conn->mx.port) && imap_user_match (mx, &conn->mx))
+      if (!mutt_strcasecmp (mx->host, conn->mx.host) && (mx->port == conn->mx.port) && imap_user_match (mx, &conn->mx))
        return conn;
       conn = conn->next;
     }