diff options
| author | tron <tron@NetBSD.org> | 1999-10-04 17:36:52 +0000 |
|---|---|---|
| committer | tron <tron@NetBSD.org> | 1999-10-04 17:36:52 +0000 |
| commit | e93ada44ca22358e12caa0bdecd116af4473e346 (patch) | |
| tree | 98e6a9f3be71ed2fea58555f9d73cdd5b78b3ee4 /libexec/ftpd | |
| parent | 5c04333d5dc13ba78969645acd79c1b225eb212e (diff) | |
Don't use undefined C expression. Patch supplied by David A. Holland
in PR bin/8534.
Diffstat (limited to 'libexec/ftpd')
| -rw-r--r-- | libexec/ftpd/ftpcmd.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y index 6eda620b4b1..1a53620164b 100644 --- a/libexec/ftpd/ftpcmd.y +++ b/libexec/ftpd/ftpcmd.y @@ -1,4 +1,4 @@ -/* $NetBSD: ftpcmd.y,v 1.38 1999/09/06 06:01:44 simonb Exp $ */ +/* $NetBSD: ftpcmd.y,v 1.39 1999/10/04 17:36:52 tron Exp $ */ /* * Copyright (c) 1985, 1988, 1993, 1994 @@ -47,7 +47,7 @@ #if 0 static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94"; #else -__RCSID("$NetBSD: ftpcmd.y,v 1.38 1999/09/06 06:01:44 simonb Exp $"); +__RCSID("$NetBSD: ftpcmd.y,v 1.39 1999/10/04 17:36:52 tron Exp $"); #endif #endif /* not lint */ @@ -1516,7 +1516,7 @@ yylex() dostr1: if (cbuf[cpos] == ' ') { cpos++; - state = state == OSTR ? STR2 : ++state; + state = state == OSTR ? STR2 : state+1; return (SP); } break; |
