src/message_api.c
branchtest_diphoton
changeset 2208 b19261f4fed4
parent 2205 1cb06c1241bd
parent 2207 5a57a595349e
child 2221 07ce59b5c058
     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);