diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-12 22:33:04 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-12 22:33:42 -0500 |
commit | 6ac002576750a8a1f1414f655ed255befcab9e33 (patch) | |
tree | 2c8cc5aad91b802e089bc09eab6f5f8d5e581147 /gatchat/gatserver.c | |
parent | 7a27cc42fc0b45dc55638585135aa1392169e3e9 (diff) | |
download | ofono-6ac002576750a8a1f1414f655ed255befcab9e33.tar.bz2 |
Fix: busy loop in atserver
Diffstat (limited to 'gatchat/gatserver.c')
-rw-r--r-- | gatchat/gatserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c index b5187496..06a6a93a 100644 --- a/gatchat/gatserver.c +++ b/gatchat/gatserver.c @@ -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; |