1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-11 09:44:19 +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; 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] ) ); fstrcpy( sid_string, get_string_param( argv[i] ) );
if ( !sid_string[0] ) { if ( !sid_string[0] ) {
d_printf("must supply a SID\n"); d_printf("must supply a SID\n");