Style: Various issues
authorDenis Kenzior <denkenz@gmail.com>
Tue, 12 Jan 2010 16:29:16 +0000 (10:29 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 12 Jan 2010 23:54:37 +0000 (17:54 -0600)
gatchat/gatchat.c
gatchat/gsmdial.c

index 8045c6b..ea17335 100644 (file)
@@ -1367,7 +1367,7 @@ gboolean g_at_chat_unregister_all(GAtChat *chat)
                        at_notify_node_destroy(l->data);
 
                g_slist_free(notify->nodes);
-               notify->nodes NULL;
+               notify->nodes = NULL;
                g_hash_table_iter_remove(&iter);
        }
 
index 3b75189..e6028e0 100644 (file)
@@ -202,7 +202,7 @@ out:
 
                return TRUE;
        }
-       
+
        return FALSE;
 }
 
@@ -342,7 +342,8 @@ static void start_dial(gboolean ok, GAtResult *result, gpointer user_data)
        g_at_chat_send(control, "AT+CREG=2", none_prefix, NULL, NULL, NULL);
        g_at_chat_send(control, "AT+CGREG=2", none_prefix, NULL, NULL, NULL);
 
-       g_at_chat_send(control, "AT+COPS=0", none_prefix, register_cb, NULL, NULL);
+       g_at_chat_send(control, "AT+COPS=0", none_prefix,
+                       register_cb, NULL, NULL);
 }
 
 static int open_serial()