Adding p=p case to unencapsulation - this will be completely remedied in a different issue
authorKrista Bennett <krista@pep-project.org>
Fri, 03 Nov 2017 14:35:45 +0100
changeset 227337edcbd98757
parent 2272 71ca25a5bb4a
child 2274 3803acd34e7c
Adding p=p case to unencapsulation - this will be completely remedied in a different issue
src/message_api.c
     1.1 --- a/src/message_api.c	Fri Nov 03 13:41:35 2017 +0100
     1.2 +++ b/src/message_api.c	Fri Nov 03 14:35:45 2017 +0100
     1.3 @@ -1965,7 +1965,8 @@
     1.4                  
     1.5              // FIXME: This is a mess. Talk with VB about how far we go to identify
     1.6              if (is_a_pEpmessage(src) || (src->shortmsg == NULL || strcmp(src->shortmsg, "pEp") == 0 ||
     1.7 -                _unsigned_signed_strcmp(pepstr, src->shortmsg, PEP_SUBJ_BYTELEN) == 0))
     1.8 +                _unsigned_signed_strcmp(pepstr, src->shortmsg, PEP_SUBJ_BYTELEN) == 0) ||
     1.9 +                strcmp(src->shortmsg, "p=p"))
    1.10              {
    1.11                  char * shortmsg = NULL;
    1.12                  char * longmsg = NULL;