mbm: merge updated Ericsson 'mbm' driver from git://gitorious.org/~torgny_j/modemmanager/mbm-mainline.git

And other cleanups by Dan.
This commit is contained in:
Torgny Johansson
2009-06-29 07:26:20 -04:00
committed by Dan Williams
parent 440cd967e2
commit ef0a604dc2
5 changed files with 691 additions and 396 deletions
+1 -1
View File
@@ -881,7 +881,7 @@ scan_done (MMSerial *serial,
reply += 7;
/* Pattern without crazy escaping using | for matching: (|\d|,"|.+|","|.+|","|.+|",|\d|) */
r = g_regex_new ("\\((\\d),\"(.+)\",\"(.+)\",\"(.+)\",(\\d)\\)", G_REGEX_UNGREEDY, 0, &err);
r = g_regex_new ("\\((\\d),\"(.*)\",\"(.*)\",\"(.*)\",(\\d)\\)", G_REGEX_UNGREEDY, 0, &err);
if (err) {
g_error ("Invalid regular expression: %s", err->message);
g_error_free (err);