summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-25 02:26:23 +0000
committerGerald Carter <jerry@samba.org>2003-04-25 02:26:23 +0000
commitf4187018ea60f41b49206abf91111b39c782e82a (patch)
tree50458f5ed70c6460c007f004bf1615b21649a359 /source3/utils
parentc61ec2d10ed2b76dd53ffdc574f891b4d5a2b2fb (diff)
downloadsamba-f4187018ea60f41b49206abf91111b39c782e82a.tar.gz
samba-f4187018ea60f41b49206abf91111b39c782e82a.tar.bz2
samba-f4187018ea60f41b49206abf91111b39c782e82a.zip
fix and if () that should be an 'else if()'
(This used to be commit 82f024723c5312fe2b6a57915de8e78c96f80ef0)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_groupmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index aaefda2e5c..f4cd8c13a6 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -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");