Skip to content
Snippets Groups Projects
Commit d182f547 authored by rswindell's avatar rswindell
Browse files

Ammendment to previous commit: "Content-type:" is already removed from

the string being passed around.
parent f7aa784c
No related branches found
No related tags found
No related merge requests found
......@@ -346,8 +346,6 @@ static char* mime_getcontent(char* buf, const char* content_type, const char* co
return NULL;
if(content_type == NULL) /* Not MIME-encoded */
return NULL;
content_type += 13;
SKIP_WHITESPACE(content_type);
if(strstr(content_type, "multipart/alternative;") == content_type)
content_type += 22;
else if(strstr(content_type, "multipart/mixed;") == content_type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment