]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_imap.c
* Removed the bmstrstr() function, and replaced all calls to it with calls
[citadel.git] / citadel / serv_imap.c
index ff340b007909fe5f669d87e608e4030758f76772..c297ac7886c573c167bc182259996a02367f8bcb 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 (bmstrstr(cmdbuf, " LOGIN ", strncasecmp)) {
+       else if (strcasestr(cmdbuf, " LOGIN ")) {
                lprintf(CTDL_INFO, "IMAP: LOGIN...\n");
        }
        else {