ENGINE-27: merged w/ default ENGINE-27
authorKrista Grothoff <krista@pep-project.org>
Thu, 29 Sep 2016 11:10:41 +0200
branchENGINE-27
changeset 1221b47c576b00dd
parent 1220 f992b45d7e08
parent 1210 48d99f79dcd4
child 1222 31d0844f3a18
ENGINE-27: merged w/ default
     1.1 --- a/src/mime.c	Thu Sep 29 11:08:50 2016 +0200
     1.2 +++ b/src/mime.c	Thu Sep 29 11:10:41 2016 +0200
     1.3 @@ -581,7 +581,7 @@
     1.4      plaintext = (msg->longmsg) ? msg->longmsg : "";
     1.5      htmltext = msg->longmsg_formatted;
     1.6  
     1.7 -    if (htmltext) {
     1.8 +    if (htmltext && (htmltext[0] != '\0')) {
     1.9          status = mime_html_text(plaintext, htmltext, &mime);
    1.10          if (status != PEP_STATUS_OK)
    1.11              goto pep_error;