1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

fix and if () that should be an 'else if()'

This commit is contained in:
Gerald Carter -
parent cb94b2b2d1
commit b110c499fa

View File

@ -453,7 +453,7 @@ int net_groupmap_delete(int argc, const char **argv)
return -1;
}
}
if ( !StrnCaseCmp(argv[i], "sid", strlen("sid")) ) {
else if ( !StrnCaseCmp(argv[i], "sid", strlen("sid")) ) {
fstrcpy( sid_string, get_string_param( argv[i] ) );
if ( !sid_string[0] ) {
d_printf("must supply a SID\n");