From: Ezra Peisach Date: Tue, 19 Jun 2001 17:43:43 +0000 (+0000) Subject: * ftpcmd.y: Cleanup potential ambiguity between comparsion and X-Git-Tag: krb5-1.3-alpha1~1379 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e366ad4fec486419e594db80c84b113eba499dd;p=krb5.git * ftpcmd.y: Cleanup potential ambiguity between comparsion and pre-increment for a variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 33a8a2363..2f532cb3f 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +2001-06-19 Ezra Peisach + + * ftpcmd.y: Cleanup potential ambiguity between comparsion and + pre-increment for a variable. + 2001-06-15 Ezra Peisach * 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 1e4b9eadd..2b9654335 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;