merge ENGINE-425
authorKrista Bennett <krista@pep-project.org>
Fri, 20 Apr 2018 15:23:43 +0200
branchENGINE-425
changeset 2620903cbf3f7c09
parent 2617 fdbb28063368
parent 2619 30069aa9bd79
child 2621 3b93675245f6
child 2622 fd2f937e618b
merge
src/message_api.c
     1.1 --- a/src/message_api.c	Fri Apr 20 15:06:16 2018 +0200
     1.2 +++ b/src/message_api.c	Fri Apr 20 15:23:43 2018 +0200
     1.3 @@ -1880,7 +1880,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;