Skip to content

Commit

Permalink
Allow imbndry on the same line as Content-Type line
Browse files Browse the repository at this point in the history
  • Loading branch information
smowton committed Feb 29, 2016
1 parent d210cb4 commit 25ac03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/incredimail_convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void im_to_eml(char* im_filename, const char* attachments_path, const char* eml_
case FMS_START:
if (strstr(buf, "Content-Type: multipart"))
state = FMS_CONTENTTYPE;
break;
// Fall through
case FMS_CONTENTTYPE:
if (strstr(buf, "imbndary="))
state = FMS_HEADEREND1;
Expand Down Expand Up @@ -313,7 +313,7 @@ void im_to_eml(char* im_filename, const char* attachments_path, const char* eml_
case FMS_START:
if (strstr(buf, "Content-Type: multipart"))
state = FMS_CONTENTTYPE;
break;
// Fall through
case FMS_CONTENTTYPE:
{
char* boundary_loc = strstr(buf, "imbndary=");
Expand Down

0 comments on commit 25ac03e

Please sign in to comment.