1
0
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:
Volker Lendecke 2009-07-29 04:30:52 -04:00
parent 2d0cd3e53a
commit d8543da9da

View File

@ -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;
}