]> code.citadel.org Git - citadel.git/blobdiff - citadel/msgbase.c
* Removed the bmstrstr() function, and replaced all calls to it with calls
[citadel.git] / citadel / msgbase.c
index a5035ce27644915ec79a25e61efc2b63c945d477..07accb07b810a20443775e7a9a44eaac7eed8865 100644 (file)
@@ -2109,8 +2109,7 @@ long CtdlSubmitMsg(struct CtdlMessage *msg,       /* message to save */
                break;
        case 4:
                strcpy(content_type, "text/plain");
-               mptr = bmstrstr(msg->cm_fields['M'],
-                               "Content-type: ", strncasecmp);
+               mptr = strcasestr(msg->cm_fields['M'], "Content-type: ");
                if (mptr != NULL) {
                        safestrncpy(content_type, &mptr[14], 
                                        sizeof content_type);