summaryrefslogtreecommitdiffstats
path: root/src/cbs.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-08-14 22:54:03 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-08-14 22:56:45 -0500
commit5bd2b86ace44fe8d0e28c12fa31a80468a2f0fcd (patch)
tree0c65cc0cc7902465a8e7e1b3852104736217c485 /src/cbs.c
parent7893cc3ef24782a7f49e9366dc30f74ea6edd2f0 (diff)
downloadofono-5bd2b86ace44fe8d0e28c12fa31a80468a2f0fcd.tar.bz2
gatserver: Refactor IO code
The current GAtServer implementation had nasty corner cases where multiple commands were issued on the same command line. The server_suspend had no effect and we ended up processing the second command anyway, resulting in interesting side-effects or crashes. This commit simply discards the rest of the read input if the server starts processing a command. Since we do not yet support command abortion we also discard data that arrives when command is being processed.
Diffstat (limited to 'src/cbs.c')
0 files changed, 0 insertions, 0 deletions