projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad0dad
)
gatsyntax: Handle lines starting with '"'
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 24 May 2012 14:26:04 +0000
(09:26 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 24 May 2012 14:28:31 +0000
(09:28 -0500)
gatchat/gatsyntax.c
patch
|
blob
|
history
diff --git
a/gatchat/gatsyntax.c
b/gatchat/gatsyntax.c
index
f88c068
..
87d49ba
100644
(file)
--- a/
gatchat/gatsyntax.c
+++ b/
gatchat/gatsyntax.c
@@
-287,6
+287,9
@@
static GAtSyntaxResult gsm_permissive_feed(GAtSyntax *syntax,
/* ignore */;
else if (byte == '>')
syntax->state = GSM_PERMISSIVE_STATE_PROMPT;
+ else if (byte == '"')
+ syntax->state =
+ GSM_PERMISSIVE_STATE_REPONSE_STRING;
else
syntax->state = GSM_PERMISSIVE_STATE_RESPONSE;
break;