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

Commit 083144fb authored by rswindell's avatar rswindell

Support multipart/report MIME content-type, from RFC3462:

The syntax of Multipart/Report is identical to the Multipart/Mixed content type
parent a7711748
...@@ -389,6 +389,8 @@ static const char* mime_getcontent(const char* buf, const char* content_type, co ...@@ -389,6 +389,8 @@ static const char* mime_getcontent(const char* buf, const char* content_type, co
content_type += 22; content_type += 22;
else if(strstr(content_type, "multipart/mixed;") == content_type) else if(strstr(content_type, "multipart/mixed;") == content_type)
content_type +=16; content_type +=16;
else if(strstr(content_type, "multipart/report;") == content_type)
content_type +=17;
else else
return NULL; return NULL;
p = strstr(content_type, "boundary="); p = strstr(content_type, "boundary=");
......
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