Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

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
......@@ -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;
if(strstr(content_type, "multipart/alternative;") == content_type)
content_type += 22;
else if(strstr(content_type, "multipart/mixed;") == content_type)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment