summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-25 02:26:53 +0000
committerGerald Carter <jerry@samba.org>2003-04-25 02:26:53 +0000
commite4e1bface82ca48834d6dd4a13bd8d429a5534a1 (patch)
treebadb803520c2d0adc446e19d0c83ee729fd2d22a
parentcc5121f9e53bc2803b61aea873e8e65f971b1e51 (diff)
downloadsamba-e4e1bface82ca48834d6dd4a13bd8d429a5534a1.tar.gz
samba-e4e1bface82ca48834d6dd4a13bd8d429a5534a1.tar.bz2
samba-e4e1bface82ca48834d6dd4a13bd8d429a5534a1.zip
fix and if () that should be an 'else if()'
(This used to be commit b110c499fa2a483ee82dc471aff8b6d93f6a88cc)
-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");