gsm: add testcase for invalid +COPS response

This commit is contained in:
Dan Williams
2010-01-05 15:03:06 -06:00
parent 3988f53d2e
commit c30f23e02c
2 changed files with 29 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ save_scan_value (GHashTable *hash, const char *key, GMatchInfo *info, guint32 nu
g_hash_table_insert (hash, g_strdup (key), quoted);
}
/* If the response was successfully parsed (even if no valid entries were
* found) the pointer array will be returned.
*/
GPtrArray *
mm_gsm_parse_scan_response (const char *reply, GError **error)
{