diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 5 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/ftpcmd.y | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 33a8a2363d..2f532cb3f3 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +2001-06-19 Ezra Peisach <epeisach@mit.edu> + + * ftpcmd.y: Cleanup potential ambiguity between comparsion and + pre-increment for a variable. + 2001-06-15 Ezra Peisach <epeisach@mit.edu> * ftpcmd.y, ftpd.c: Cast argument to isspace()/isdigit() to int. diff --git a/src/appl/gssftp/ftpd/ftpcmd.y b/src/appl/gssftp/ftpd/ftpcmd.y index 1e4b9eadd0..2b96543350 100644 --- a/src/appl/gssftp/ftpd/ftpcmd.y +++ b/src/appl/gssftp/ftpd/ftpcmd.y @@ -1283,7 +1283,7 @@ yylex() dostr1: if (cbuf[cpos] == ' ') { cpos++; - state = state == OSTR ? STR2 : ++state; + state = state == OSTR ? STR2 : state+1; return (SP); } break; |