* ftpcmd.y: Cleanup potential ambiguity between comparsion and
authorEzra Peisach <epeisach@mit.edu>
Tue, 19 Jun 2001 17:43:43 +0000 (17:43 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 19 Jun 2001 17:43:43 +0000 (17:43 +0000)
pre-increment for a variable.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftpd/ChangeLog
src/appl/gssftp/ftpd/ftpcmd.y

index 33a8a2363dad55e7041f87ec07380097fae90cff..2f532cb3f30300610d43ee9e25fb3f8a8f19fd1f 100644 (file)
@@ -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.
index 1e4b9eadd09741b29603f5e87e071ce617678f81..2b965433504b574c2c498580e5e41a3d22ffa912 100644 (file)
@@ -1283,7 +1283,7 @@ yylex()
                dostr1:
                        if (cbuf[cpos] == ' ') {
                                cpos++;
-                               state = state == OSTR ? STR2 : ++state;
+                               state = state == OSTR ? STR2 : state+1;
                                return (SP);
                        }
                        break;