merge ENGINE-423
authorKrista Bennett <krista@pep-project.org>
Fri, 20 Apr 2018 15:23:15 +0200
branchENGINE-423
changeset 261930069aa9bd79
parent 2616 13e9725995f2
parent 2618 3cc1716b444e
child 2620 903cbf3f7c09
child 2621 3b93675245f6
merge
src/message_api.c
     1.1 --- a/src/message_api.c	Fri Apr 20 10:58:08 2018 +0200
     1.2 +++ b/src/message_api.c	Fri Apr 20 15:23:15 2018 +0200
     1.3 @@ -1846,7 +1846,7 @@
     1.4      if (!src->from->address || !src->to->ident || !src->to->ident->address)
     1.5          return PEP_ILLEGAL_VALUE;
     1.6              
     1.7 -    if (!strcasecmp(src->from->address, src->to->ident->address) == 0)
     1.8 +    if (strcasecmp(src->from->address, src->to->ident->address) != 0)
     1.9          return PEP_ILLEGAL_VALUE;
    1.10      
    1.11      stringlist_t* keys = NULL;