X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fnotes.c;fp=webcit%2Fnotes.c;h=584e8d99704b37f39da63087d3a3d1866c7c529c;hb=a34ab2fe2c99fda491eb8ae91371774a32c2612e;hp=079bb960b687d7b49e463e3bd5a2138841e4805c;hpb=039ccdbb1a9d4124f6c1a03c29cbdd4536112019;p=citadel.git diff --git a/webcit/notes.c b/webcit/notes.c index 079bb960b..584e8d997 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -78,11 +78,11 @@ struct vnote *vnote_new_from_msg(long msgnum,int unread) if (!IsEmptyStr(bptr)) { if (!strncasecmp(bptr, "Content-type: ", 14)) { safestrncpy(msg4_content_type, &bptr[14], sizeof msg4_content_type); - striplt(msg4_content_type); + string_trim(msg4_content_type); } else if (!strncasecmp(bptr, "Content-transfer-encoding: ", 27)) { safestrncpy(msg4_content_encoding, &bptr[27], sizeof msg4_content_encoding); - striplt(msg4_content_type); + string_trim(msg4_content_type); } else if ((!strncasecmp(bptr, "Content-length: ", 16))) { msg4_content_length = atoi(&bptr[16]);