Merge default ENGINE-261
authorDamiano Boppart <damiano@pep-security.net>
Thu, 26 Oct 2017 16:11:04 +0200
branchENGINE-261
changeset 2212d3c28a5e8534
parent 2211 588c4a473ef1
parent 2207 5a57a595349e
child 2213 04052cc0c922
Merge default
     1.1 --- a/src/message_api.c	Thu Oct 26 16:06:19 2017 +0200
     1.2 +++ b/src/message_api.c	Thu Oct 26 16:11:04 2017 +0200
     1.3 @@ -785,7 +785,7 @@
     1.4          _envelope->longmsg = encapsulate_message_wrap_info("TRANSPORT", _envelope->longmsg);
     1.5      }
     1.6      
     1.7 -    if (!attachment->id || attachment->id[0] == "\0") {
     1.8 +    if (!attachment->id || attachment->id[0] == '\0') {
     1.9          free(attachment->id);
    1.10          if (!_envelope->id) {
    1.11              status = generate_message_id(_envelope);