assignment '!= equality sync
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Tue, 19 Nov 2019 15:22:46 +0100
branchsync
changeset 42080edca795564a
parent 4207 c47af107d4f5
child 4209 bcb1587bf92f
child 4218 3c8fbe9246c5
assignment '!= equality
src/identity_list.c
     1.1 --- a/src/identity_list.c	Tue Nov 19 14:56:26 2019 +0100
     1.2 +++ b/src/identity_list.c	Tue Nov 19 15:22:46 2019 +0100
     1.3 @@ -136,7 +136,7 @@
     1.4  }
     1.5  
     1.6  PEP_STATUS set_all_userids_in_list(identity_list* id_list, const char* user_id) {
     1.7 -    if (!user_id || user_id[0] = '\0')
     1.8 +    if (!user_id || user_id[0] == '\0')
     1.9          return PEP_ILLEGAL_VALUE;
    1.10          
    1.11      identity_list* curr_list = id_list;