diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2006-12-20 20:04:00 +0000 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2006-12-20 20:04:00 +0000 |
commit | aa772b0bb6e87b85b1bd3bf4b4092204e0e18683 (patch) | |
tree | 93094d6f6cb68a7ac9a8588d9f91b5a6b7abdd95 /tests/test.c | |
parent | 83407e22721211ced7b3554bff9d2312472907d9 (diff) | |
download | libnice-aa772b0bb6e87b85b1bd3bf4b4092204e0e18683.tar.gz |
stun: don't include message header size in packed length
darcs-hash:20061220200459-c9803-c88efb120656f7cf5870e91cf80ceb9622088da5.gz
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c index 5294cd8..be06e16 100644 --- a/tests/test.c +++ b/tests/test.c @@ -90,7 +90,7 @@ START_TEST (test_message_pack) fail_unless(packed != NULL); fail_unless(length == 32); fail_unless(0 == memcmp(packed + 0, "\x00\x01", 2)); - fail_unless(0 == memcmp(packed + 2, "\x00\x20", 2)); + fail_unless(0 == memcmp(packed + 2, "\x00\x0c", 2)); fail_unless(0 == memcmp(packed + 4, "\x00\x01\x02\x03" "\x04\x05\x06\x07" |