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;
/* 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);
/* 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 */
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));
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));