ENGINE-9: Fixed copy-paste error leading to truncated content-ids. Seems to work :) ENGINE-9
authorKrista Bennett <krista@pep-project.org>
Wed, 07 Jun 2017 14:43:07 +0200
branchENGINE-9
changeset 18317f36a1b2ba63
parent 1830 acb58598b45b
child 1833 d6eaa3ebdf42
ENGINE-9: Fixed copy-paste error leading to truncated content-ids. Seems to work :)
src/mime.c
     1.1 --- a/src/mime.c	Wed Jun 07 13:44:17 2017 +0200
     1.2 +++ b/src/mime.c	Wed Jun 07 14:43:07 2017 +0200
     1.3 @@ -1360,7 +1360,7 @@
     1.4                  if (content_id) {
     1.5                      size_t index = 0;
     1.6                      r = mailmime_encoded_phrase_parse("utf-8", content_id,
     1.7 -                            strlen(filename), &index, "utf-8", &_content_id);
     1.8 +                            strlen(content_id), &index, "utf-8", &_content_id);
     1.9                      if (r)
    1.10                          goto enomem;                    
    1.11                  }