ENGINE-309: strcmp strikes again. (p=p)
authorKrista Bennett <krista@pep-project.org>
Fri, 03 Nov 2017 17:59:24 +0100
changeset 22743803acd34e7c
parent 2273 37edcbd98757
child 2275 de17b80d7394
ENGINE-309: strcmp strikes again. (p=p)
src/message_api.c
     1.1 --- a/src/message_api.c	Fri Nov 03 14:35:45 2017 +0100
     1.2 +++ b/src/message_api.c	Fri Nov 03 17:59:24 2017 +0100
     1.3 @@ -1966,7 +1966,7 @@
     1.4              // FIXME: This is a mess. Talk with VB about how far we go to identify
     1.5              if (is_a_pEpmessage(src) || (src->shortmsg == NULL || strcmp(src->shortmsg, "pEp") == 0 ||
     1.6                  _unsigned_signed_strcmp(pepstr, src->shortmsg, PEP_SUBJ_BYTELEN) == 0) ||
     1.7 -                strcmp(src->shortmsg, "p=p"))
     1.8 +                (strcmp(src->shortmsg, "p=p") == 0))
     1.9              {
    1.10                  char * shortmsg = NULL;
    1.11                  char * longmsg = NULL;