core: set number of incoming call

This commit is contained in:
Marco Bascetta
2015-05-06 12:36:54 +02:00
committed by Aleksander Morgado
parent ae72922031
commit 65a64c9248
2 changed files with 2 additions and 3 deletions

View File

@@ -6309,7 +6309,7 @@ clip_received (MMPortSerialAt *port,
/* The match info gives us in which storage the index applies */
gchar *str = mm_get_string_unquoted_from_match_info (info, 1);
if( !str ) {
if( str ) {
guint validity = 0;
guint type = 0;

View File

@@ -355,8 +355,7 @@ mm_voice_clip_regex_get (void)
* <CR><LF>+CLIP: "+393351391306",145,,,,0<CR><LF>
* \_ Number \_ Type \_ Validity
*/
return g_regex_new ("\\r\\n\\+CLIP:\\s*\"(\\S+)\",\\s*(\\d+),\\s*,\\s*,\\s*,\\s*(\\d+)\\r\\n",
return g_regex_new ("\\r\\n\\+CLIP:\\s*(\\S+),\\s*(\\d+),\\s*,\\s*,\\s*,\\s*(\\d+)\\r\\n",
G_REGEX_RAW | G_REGEX_OPTIMIZE,
0,
NULL);