ftpd: import changes from sources
This commit is contained in:
parent
731aeeedb3
commit
c9d2ce7b1c
|
@ -1152,6 +1152,8 @@ sitecmd(char *arg)
|
||||||
int nf, r;
|
int nf, r;
|
||||||
Dir *d;
|
Dir *d;
|
||||||
|
|
||||||
|
if(arg == 0)
|
||||||
|
return reply("501 bad site command");
|
||||||
nf = tokenize(arg, f, nelem(f));
|
nf = tokenize(arg, f, nelem(f));
|
||||||
if(nf != 3 || cistrcmp(f[0], "chmod") != 0)
|
if(nf != 3 || cistrcmp(f[0], "chmod") != 0)
|
||||||
return reply("501 bad site command");
|
return reply("501 bad site command");
|
||||||
|
|
Loading…
Reference in a new issue