diff options
author | alfred <alfred@FreeBSD.org> | 1999-10-07 08:41:55 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 1999-10-07 08:41:55 +0000 |
commit | b4eb8ad32b306c3b18e57d9ec5374dcab7542d3b (patch) | |
tree | 03d3a26c8098a8cf7dcf47e5f3a9cffa352116b2 /libexec/ftpd | |
parent | b78d8db34777845803e7b5ec75eceea8a804fafd (diff) | |
download | FreeBSD-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.y | 2 |
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; |