mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Fix unqualified "net join"
Kai, please check! Thanks, Volker
This commit is contained in:
parent
2d0cd3e53a
commit
d8543da9da
@ -34,10 +34,7 @@ int net_join_usage(struct net_context *c, int argc, const char **argv)
|
||||
|
||||
int net_join(struct net_context *c, int argc, const char **argv)
|
||||
{
|
||||
if (argc < 1)
|
||||
return net_join_usage(c, argc, argv);
|
||||
|
||||
if (StrCaseCmp(argv[0], "HELP") == 0) {
|
||||
if ((argc > 0) && (StrCaseCmp(argv[0], "HELP") == 0)) {
|
||||
net_join_usage(c, argc, argv);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user