git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffc69a
)
merge fix for core dump when called with no args from 2.2
author
Herb Lewis
<herb@samba.org>
Thu, 21 Mar 2002 22:36:04 +0000
(22:36 +0000)
committer
Herb Lewis
<herb@samba.org>
Thu, 21 Mar 2002 22:36:04 +0000
(22:36 +0000)
(This used to be commit
8b38cca631a7434fcce0686c8e41c986a0a36a21
)
source3/torture/masktest.c
patch
|
blob
|
history
diff --git
a/source3/torture/masktest.c
b/source3/torture/masktest.c
index 7725bfe4099640f6b59e6075ce20c8ab21c664bf..0e0b531080ff0913477377f1ef751bf40b45685a 100644
(file)
--- a/
source3/torture/masktest.c
+++ b/
source3/torture/masktest.c
@@
-432,7
+432,7
@@
static void usage(void)
DEBUGLEVEL = 0;
AllowDebugChange = False;
- if (arg
v[1][0] == '-' || argc < 2
) {
+ if (arg
c < 2 || argv[1][0] == '-'
) {
usage();
exit(1);
}