* duplicate memreadline & bmstrcasestr to a const and non const version
[citadel.git] / citadel / modules / imap / serv_imap.c
index 5ddae608a15b3beb450efd062779376e2143df50..baee87c1abc0fe933815a6123685e2ab24c5d6b0 100644 (file)
@@ -1426,7 +1426,7 @@ void imap_command_loop(void)
                CtdlLogPrintf(CTDL_INFO, "IMAP: <plain_auth>\n");
        }
        else if ((Imap->authstate == imap_as_expecting_multilineusername) || 
-                bmstrcasestr(ChrPtr(Imap->Cmd.CmdBuf), " LOGIN ")) {
+                cbmstrcasestr(ChrPtr(Imap->Cmd.CmdBuf), " LOGIN ")) {
                CtdlLogPrintf(CTDL_INFO, "IMAP: LOGIN...\n");
        }
        else {