OSDN Git Service

gobex: Minor coding style fixes
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 26 Jun 2011 20:45:18 +0000 (23:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:56 +0000 (22:21 +0100)
unit/test-gobex.c

index 053d668..26dfe7c 100644 (file)
 
 static uint8_t hdr_connid[] = { G_OBEX_HDR_ID_CONNECTION, 1, 2, 3, 4 };
 static uint8_t hdr_name_ascii[] = { G_OBEX_HDR_ID_NAME, 0x00, 0x0b,
-                               0x00, 'f', 0x00, 'o', 0x00, 'o', 0x00, 0x00 };
+                               0x00, 'f', 0x00, 'o', 0x00, 'o',
+                               0x00, 0x00 };
 static uint8_t hdr_name_umlaut[] = { G_OBEX_HDR_ID_NAME, 0x00, 0x0b,
-                               0x00, 0xe5, 0x00, 0xe4, 0x00, 0xf6, 0x00, 0x00 };
+                               0x00, 0xe5, 0x00, 0xe4, 0x00, 0xf6,
+                               0x00, 0x00 };
 static uint8_t hdr_body[] = { G_OBEX_HDR_ID_BODY, 0x00, 0x07, 1, 2, 3, 4 };
 static uint8_t hdr_actionid[] = { G_OBEX_HDR_ID_ACTION, 0x00 };
 
@@ -391,9 +393,9 @@ int main(int argc, char *argv[])
        g_test_add_func("/gobex/test_decode_header_connid",
                                                test_decode_header_connid);
        g_test_add_func("/gobex/test_decode_header_name_ascii",
-                                               test_decode_header_name_ascii);
+                                       test_decode_header_name_ascii);
        g_test_add_func("/gobex/test_decode_header_name_umlaut",
-                                               test_decode_header_name_umlaut);
+                                       test_decode_header_name_umlaut);
        g_test_add_func("/gobex/test_decode_header_body",
                                                test_decode_header_body);
        g_test_add_func("/gobex/test_decode_header_body_extdata",