diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/cinterion/mm-modem-helpers-cinterion.c | 4 | ||||
-rw-r--r-- | plugins/thuraya/mm-modem-helpers-thuraya.c | 2 | ||||
-rw-r--r-- | plugins/wavecom/mm-broadband-modem-wavecom.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.c b/plugins/cinterion/mm-modem-helpers-cinterion.c index 2afd11a4..c7b0c44d 100644 --- a/plugins/cinterion/mm-modem-helpers-cinterion.c +++ b/plugins/cinterion/mm-modem-helpers-cinterion.c @@ -201,7 +201,7 @@ mm_cinterion_parse_scfg_response (const gchar *response, r = g_regex_new ("\\^SCFG:\\s*\"Radio/Band\",\\s*\"?([0-9a-fA-F]*)\"?", 0, 0, NULL); g_assert (r != NULL); - if (g_regex_match_full (r, response, strlen (response), 0, 0, &match_info, NULL)) { + if (g_regex_match (r, response, 0, &match_info)) { gchar *currentstr; guint current = 0; @@ -441,7 +441,7 @@ mm_cinterion_parse_sind_response (const gchar *response, r = g_regex_new ("\\^SIND:\\s*(.*),(\\d+),(\\d+)(\\r\\n)?", 0, 0, NULL); g_assert (r != NULL); - if (g_regex_match_full (r, response, strlen (response), 0, 0, &match_info, NULL)) { + if (g_regex_match (r, response, 0, &match_info)) { if (description) { *description = mm_get_string_unquoted_from_match_info (match_info, 1); if (*description == NULL) diff --git a/plugins/thuraya/mm-modem-helpers-thuraya.c b/plugins/thuraya/mm-modem-helpers-thuraya.c index b940e631..1dad59fd 100644 --- a/plugins/thuraya/mm-modem-helpers-thuraya.c +++ b/plugins/thuraya/mm-modem-helpers-thuraya.c @@ -99,7 +99,7 @@ mm_thuraya_3gpp_parse_cpms_test_response (const gchar *reply, array = g_array_new (FALSE, FALSE, sizeof (MMSmsStorage)); /* Got a range group to match */ - if (g_regex_match_full (r, splita[i], strlen (splita[i]), 0, 0, &match_info, NULL)) { + if (g_regex_match (r, splita[i], 0, &match_info)) { while (g_match_info_matches (match_info)) { gchar *str; diff --git a/plugins/wavecom/mm-broadband-modem-wavecom.c b/plugins/wavecom/mm-broadband-modem-wavecom.c index 51e50456..47980d86 100644 --- a/plugins/wavecom/mm-broadband-modem-wavecom.c +++ b/plugins/wavecom/mm-broadband-modem-wavecom.c @@ -261,7 +261,7 @@ wwsm_read_ready (MMBaseModem *self, r = g_regex_new ("\\r\\n\\+WWSM: ([0-2])(,([0-2]))?.*$", 0, 0, NULL); g_assert (r != NULL); - if (g_regex_match_full (r, response, strlen (response), 0, 0, &match_info, NULL)) { + if (g_regex_match (r, response, 0, &match_info)) { guint allowed = 0; if (mm_get_uint_from_match_info (match_info, 1, &allowed)) { |