summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-04-26 14:41:52 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-04-26 14:41:52 -0500
commitf8eb178b296c58f555b8a347b22b17319fc44051 (patch)
tree39ab16d953a346853ff5b18a5fe017abbe10028b /src/voicecall.c
parent97a7a6178926fc4315ccb0b7a3e39fbd41f13e92 (diff)
downloadofono-f8eb178b296c58f555b8a347b22b17319fc44051.tar.bz2
voicecall: Update CLCC buffer size and comment
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index d3bc3944..69b0d3b1 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -2689,10 +2689,11 @@ static void emulator_clcc_cb(struct ofono_emulator *em,
struct ofono_error result;
GSList *l;
/*
- * '+CLCC: 123,1,1,0,1,"+",' + phone number + phone type on 3 digits
- * + terminating null
+ * idx dir stat mode mpty
+ * '+CLCC: <0-7>,<0-1>,<0-5>,<0-9>,<0-1>,"",' +
+ * phone number + phone type on 3 digits + terminating null
*/
- char buf[OFONO_MAX_PHONE_NUMBER_LENGTH + 26 + 1];
+ char buf[20 + OFONO_MAX_PHONE_NUMBER_LENGTH + 3 + 1];
result.error = 0;