merged in default test_diphoton
authorKrista Bennett <krista@pep-project.org>
Thu, 26 Oct 2017 15:56:01 +0200
branchtest_diphoton
changeset 2208b19261f4fed4
parent 2206 3387acfea51f
parent 2207 5a57a595349e
child 2217 f648ba7ae89d
merged in default
src/message_api.c
     1.1 --- a/src/message_api.c	Thu Oct 26 14:06:26 2017 +0200
     1.2 +++ b/src/message_api.c	Thu Oct 26 15:56:01 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);