Commit 83407e22 authored by Dafydd Harries's avatar Dafydd Harries
Browse files

test: comment packed structure

darcs-hash:20061217202711-c9803-138c77055b5f9c5cd17ef1a9631f86a48a958577.gz
parent 425405c2
......@@ -97,11 +97,12 @@ START_TEST (test_message_pack)
"\x08\x09\x0a\x0b"
"\x0c\x0d\x0e\x0f", 16));
fail_unless(0 == memcmp(packed + 20,
"\x00\x01"
"\x00\x08"
"\x00\x01"
"\x09\x29"
"\x02\x03\x04\x05", 12));
"\x00\x01" // type
"\x00\x08" // length
"\x00\x01" // padding, address family
"\x09\x29" // port
"\x02\x03\x04\x05", // IP address
12));
g_free(packed);
stun_message_free(msg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment