From b79a3c0a6533092a82da49bffc603fbd84536cf0 Mon Sep 17 00:00:00 2001 From: Tambet Ingo Date: Fri, 3 Apr 2009 13:45:17 +0300 Subject: [PATCH] Fix a typo. --- plugins/mm-modem-zte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }