gsm: be more lenient in +CGDCONT parsing (bgo #617873)
Some phones like the T630 don't put a space after the ':'.
This commit is contained in:
@@ -2388,7 +2388,7 @@ existing_apns_read (MMAtSerialPort *port,
|
||||
info->error = mm_modem_check_removed (info->modem, error);
|
||||
if (info->error)
|
||||
goto done;
|
||||
else if (g_str_has_prefix (response->str, "+CGDCONT: ")) {
|
||||
else if (g_str_has_prefix (response->str, "+CGDCONT:")) {
|
||||
GRegex *r;
|
||||
GMatchInfo *match_info;
|
||||
|
||||
|
Reference in New Issue
Block a user