summaryrefslogtreecommitdiff
path: root/stun/stunmessage.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2009-02-23 17:40:45 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2009-02-23 17:40:45 -0500
commit8b971219f411274077099b556670c22f970065dd (patch)
treeea3697ebe2797e1978c8f73fb2ae61bf2a888420 /stun/stunmessage.c
parent7d5a266740b6c2d18cda97e8caae9b988822672f (diff)
downloadlibnice-8b971219f411274077099b556670c22f970065dd.tar.gz
Rename stun_has_cookie into stun_message_has_cookie
Diffstat (limited to 'stun/stunmessage.c')
-rw-r--r--stun/stunmessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/stunmessage.c b/stun/stunmessage.c
index 505047a..aa05d50 100644
--- a/stun/stunmessage.c
+++ b/stun/stunmessage.c
@@ -320,7 +320,7 @@ stun_message_append (StunMessage *msg, StunAttribute type, size_t length)
a = stun_setw (a, type);
/* NOTE: If cookie is not present, we need to force the attribute length
* to a multiple of 4 for compatibility with old RFC3489 */
- a = stun_setw (a, stun_has_cookie (msg) ? length : stun_align (length));
+ a = stun_setw (a, stun_message_has_cookie (msg) ? length : stun_align (length));
mlen += 4 + length;
/* Add padding if needed */