r3510 - trunk/src/target/gsm/src/gsmd
tick at sita.openmoko.org
tick at sita.openmoko.org
Mon Nov 26 10:12:04 CET 2007
Author: tick
Date: 2007-11-26 10:11:57 +0100 (Mon, 26 Nov 2007)
New Revision: 3510
Modified:
trunk/src/target/gsm/src/gsmd/sms_cb.c
Log:
[gsmd] to fix on reading a SMS with alpha value. (Erin Yueh)
Modified: trunk/src/target/gsm/src/gsmd/sms_cb.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/sms_cb.c 2007-11-26 01:49:54 UTC (rev 3509)
+++ trunk/src/target/gsm/src/gsmd/sms_cb.c 2007-11-26 09:11:57 UTC (rev 3510)
@@ -125,7 +125,7 @@
if (
sscanf(resp, "+CMGR: %i,,%i\n%n",
&stat, &len, &cr) < 2 &&
- sscanf(resp, "+CMGR: %i,%*i,%i\n%n",
+ sscanf(resp, "+CMGR: %i,\"%*[^\"]\",%i\n%n",
&stat, &len, &cr) < 2)
return -EINVAL;
if (len > 164)
More information about the commitlog
mailing list