Fix: busy loop in atserver

This commit is contained in:
Denis Kenzior 2010-04-12 22:33:04 -05:00
parent 7a27cc42fc
commit 6ac0025767
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ static unsigned int parse_basic_command(GAtServer *server, char *buf)
* semicolon character (IA5 3/11) or the end of the
* command line is the part of the call.
*/
while (buf[i] != '\0' || buf[i] != ';')
while (buf[i] != '\0' && buf[i] != ';')
i += 1;
goto done;