aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTambet Ingo <tambet@gmail.com>2009-04-03 13:45:17 +0300
committerTambet Ingo <tambet@gmail.com>2009-04-03 13:45:17 +0300
commitb79a3c0a6533092a82da49bffc603fbd84536cf0 (patch)
treebf9890e8b11a2ece61bafb5956d67daf60f3834b
parentd37820474201ea46e574c13c86fb015698d0cab9 (diff)
Fix a typo.
-rw-r--r--plugins/mm-modem-zte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-modem-zte.c b/plugins/mm-modem-zte.c
index 2128dc49..28c74ad6 100644
--- a/plugins/mm-modem-zte.c
+++ b/plugins/mm-modem-zte.c
@@ -150,7 +150,7 @@ mm_modem_zte_init (MMModemZte *self)
mm_serial_add_unsolicited_msg_handler (MM_SERIAL (self), regex, NULL, NULL, NULL);
g_regex_unref (regex);
- g_regex_new ("\\r\\n\\+ZEND\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL);
+ regex = g_regex_new ("\\r\\n\\+ZEND\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL);
mm_serial_add_unsolicited_msg_handler (MM_SERIAL (self), regex, NULL, NULL, NULL);
g_regex_unref (regex);
}