Skip to content
Snippets Groups Projects
Commit cadbaeb4 authored by Aomx's avatar Aomx
Browse files

removed debug printfs

parent 7925cadd
No related branches found
No related tags found
No related merge requests found
...@@ -255,9 +255,6 @@ static void test_sctp_ipv6_packet_to_string(void) ...@@ -255,9 +255,6 @@ static void test_sctp_ipv6_packet_to_string(void)
char *error = NULL; char *error = NULL;
enum packet_parse_result_t result = enum packet_parse_result_t result =
parse_packet(packet, sizeof(data), ETHERTYPE_IPV6, &error); parse_packet(packet, sizeof(data), ETHERTYPE_IPV6, &error);
if (result != PACKET_OK) {
printf("error was %s\n", error);
}
assert(result == PACKET_OK); assert(result == PACKET_OK);
assert(error == NULL); assert(error == NULL);
...@@ -266,9 +263,6 @@ static void test_sctp_ipv6_packet_to_string(void) ...@@ -266,9 +263,6 @@ static void test_sctp_ipv6_packet_to_string(void)
/* Test a DUMP_SHORT dump */ /* Test a DUMP_SHORT dump */
status = packet_to_string(packet, DUMP_SHORT, &dump, &error); status = packet_to_string(packet, DUMP_SHORT, &dump, &error);
if (status != STATUS_OK) {
printf("error was %s\n", error);
}
assert(status == STATUS_OK); assert(status == STATUS_OK);
assert(error == NULL); assert(error == NULL);
printf("dump = '%s'\n", dump); printf("dump = '%s'\n", dump);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment