broadband-modem: ensure text mode SMS list doesn't pick up too much text
This is the port of commit 2104cd725a
to the
06-api branch.
This commit is contained in:
@@ -3860,7 +3860,7 @@ sms_text_part_list_ready (MMBroadbandModem *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* +CMGL: <index>,<stat>,<oa/da>,[alpha],<scts><CR><LF><data><CR><LF> */
|
/* +CMGL: <index>,<stat>,<oa/da>,[alpha],<scts><CR><LF><data><CR><LF> */
|
||||||
r = g_regex_new ("\\+CMGL:\\s*(\\d+)\\s*,\\s*([^,]*),\\s*([^,]*),\\s*([^,]*),\\s*([^\\r\\n]*)\\r\\n(.*)",
|
r = g_regex_new ("\\+CMGL:\\s*(\\d+)\\s*,\\s*([^,]*),\\s*([^,]*),\\s*([^,]*),\\s*([^\\r\\n]*)\\r\\n([^\\r\\n]*)",
|
||||||
0, 0, NULL);
|
0, 0, NULL);
|
||||||
g_assert (r);
|
g_assert (r);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user