git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5121f
)
fix and if () that should be an 'else if()'
author
Gerald Carter
<jerry@samba.org>
Fri, 25 Apr 2003 02:26:53 +0000
(
02:26
+0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 25 Apr 2003 02:26:53 +0000
(
02:26
+0000)
(This used to be commit
b110c499fa2a483ee82dc471aff8b6d93f6a88cc
)
source3/utils/net_groupmap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_groupmap.c
b/source3/utils/net_groupmap.c
index aaefda2e5c32d995ea1b6c00f02be3c519e8e4ac..f4cd8c13a6f294b12f41b687772771a2a2ba015e 100644
(file)
--- 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");