summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-08 14:40:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-08 14:40:36 +0000
commit968fce17e56cb415b83434109eabcf35ab017a63 (patch)
treeec8af557a8ce1ecdaa5aabd991a9cd48264176d1 /libexec
parent00340e5ada278d36317c250b7394dbc50b791988 (diff)
correct; dholland@hcs.harvard.edu, root@zen.ics.uwe.ac.uk
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpcmd.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index a7eb19441a5..c146e989bbf 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpcmd.y,v 1.16 1998/05/22 06:46:09 deraadt Exp $ */
+/* $OpenBSD: ftpcmd.y,v 1.17 1999/10/08 14:40:35 deraadt Exp $ */
/* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */
/*
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
#else
-static char rcsid[] = "$OpenBSD: ftpcmd.y,v 1.16 1998/05/22 06:46:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ftpcmd.y,v 1.17 1999/10/08 14:40:35 deraadt Exp $";
#endif
#endif /* not lint */
@@ -1088,7 +1088,7 @@ yylex()
dostr1:
if (cbuf[cpos] == ' ') {
cpos++;
- state = state == OSTR ? STR2 : ++state;
+ state = state == OSTR ? STR2 : state+1;
return (SP);
}
break;