summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-10-22 06:19:53 +0000
committerpst <pst@FreeBSD.org>1994-10-22 06:19:53 +0000
commit8e9dc68f932731b3577bec56fd63108dd5872669 (patch)
tree76e22b19d3f2ff7222314482dc50447dd86c2240 /libexec
parentcece114d35f728f70735351a9b2fd5e6e65f24b7 (diff)
downloadFreeBSD-src-8e9dc68f932731b3577bec56fd63108dd5872669.zip
FreeBSD-src-8e9dc68f932731b3577bec56fd63108dd5872669.tar.gz
Fix broken command parser (fall back 10 yards and scratch head).
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpcmd.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 5c090e3..6ec3d25 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -951,7 +951,7 @@ yylex()
upper(cbuf);
p = lookup(cmdtab, cbuf);
cbuf[cpos] = c;
- if (guest != 0 && p != 0) {
+ if (p != 0) {
if (p->implemented == 0) {
nack(p->name);
longjmp(errcatch,0);
OpenPOWER on IntegriCloud