summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>1999-10-07 08:41:55 +0000
committeralfred <alfred@FreeBSD.org>1999-10-07 08:41:55 +0000
commitb4eb8ad32b306c3b18e57d9ec5374dcab7542d3b (patch)
tree03d3a26c8098a8cf7dcf47e5f3a9cffa352116b2 /libexec/ftpd
parentb78d8db34777845803e7b5ec75eceea8a804fafd (diff)
downloadFreeBSD-src-b4eb8ad32b306c3b18e57d9ec5374dcab7542d3b.zip
FreeBSD-src-b4eb8ad32b306c3b18e57d9ec5374dcab7542d3b.tar.gz
sync with netbsd PR 8534, fix undefined C code.
Pointed out by: David A. Holland
Diffstat (limited to 'libexec/ftpd')
-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 359fa81..e085e29 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1027,7 +1027,7 @@ yylex()
dostr1:
if (cbuf[cpos] == ' ') {
cpos++;
- state = state == OSTR ? STR2 : ++state;
+ state = state == OSTR ? STR2 : state+1;
return (SP);
}
break;
OpenPOWER on IntegriCloud