]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_imap.c
* New bmstrcasestr() function to perform very fast case-insensitive
[citadel.git] / citadel / serv_imap.c
index c297ac7886c573c167bc182259996a02367f8bcb..b81732a6885a8d8fd6b6087bc9f12ebc91eb6a81 100644 (file)
@@ -1386,7 +1386,7 @@ void imap_command_loop(void)
        if (IMAP->authstate == imap_as_expecting_password) {
                lprintf(CTDL_INFO, "IMAP: <password>\n");
        }
-       else if (strcasestr(cmdbuf, " LOGIN ")) {
+       else if (bmstrcasestr(cmdbuf, " LOGIN ")) {
                lprintf(CTDL_INFO, "IMAP: LOGIN...\n");
        }
        else {