Style: Various issues
authorDenis Kenzior <denkenz@gmail.com>
Tue, 12 Jan 2010 16:33:09 +0000 (10:33 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 12 Jan 2010 23:54:37 +0000 (17:54 -0600)
unit/test-mux.c
unit/test-util.c

index ec242a0..0fc697c 100644 (file)
@@ -186,7 +186,7 @@ static void test_mux(void)
        GAtSyntax *syntax;
        int sk;
 
-       sk= do_connect("192.168.0.202", 2000);
+       sk = do_connect("192.168.0.202", 2000);
        if (sk < 0) {
                g_printerr("connect failed\n");
                return;
@@ -392,7 +392,8 @@ static void test_extract_basic()
 
        /* Try to read with just the open flag */
        nread = gsm0710_basic_extract_frame(basic_input + total,
-                                               basic_frame_size + 1, &dlc, &ctrl,
+                                               basic_frame_size + 1,
+                                               &dlc, &ctrl,
                                                &frame, &frame_size);
 
        g_assert(nread == 0);
@@ -400,7 +401,8 @@ static void test_extract_basic()
 
        /* Now read with the close flag as well */
        nread = gsm0710_basic_extract_frame(basic_input + total,
-                                               basic_frame_size + 2, &dlc, &ctrl,
+                                               basic_frame_size + 2,
+                                               &dlc, &ctrl,
                                                &frame, &frame_size);
 
        /* Extracted the open flag + frame */
index b5feb40..de62848 100644 (file)
@@ -867,17 +867,17 @@ static void test_sim()
 
        utf8 = sim_string_to_utf8(sim_80_1, sizeof(sim_80_1));
        g_assert(utf8);
-       g_assert(strcmp(utf8, "ono") == 0 );
+       g_assert(strcmp(utf8, "ono") == 0);
        g_free(utf8);
 
        utf8 = sim_string_to_utf8(sim_80_2, sizeof(sim_80_2));
        g_assert(utf8);
-       g_assert(strcmp(utf8, "ono") == 0 );
+       g_assert(strcmp(utf8, "ono") == 0);
        g_free(utf8);
 
        utf8 = sim_string_to_utf8(sim_80_3, sizeof(sim_80_3));
        g_assert(utf8);
-       g_assert(strcmp(utf8, "ono") == 0 );
+       g_assert(strcmp(utf8, "ono") == 0);
        g_free(utf8);
 
        utf8 = sim_string_to_utf8(sim_81_0, sizeof(sim_81_0));
@@ -890,7 +890,7 @@ static void test_sim()
 
        utf8 = sim_string_to_utf8(sim_81_1, sizeof(sim_81_1));
        g_assert(utf8);
-       g_assert(strcmp(utf8, "ono") == 0 );
+       g_assert(strcmp(utf8, "ono") == 0);
        g_free(utf8);
 
        utf8 = sim_string_to_utf8(sim_82_0, sizeof(sim_82_0));