• Pekka Pessi's avatar
    Fixed msg_addrlen() usage. · 2a7b3c9a
    Pekka Pessi authored
    msg_addrlen() returns a pointer to ai_addrlen field of struct addrinfo
    inside the msg_t object. ai_addrlen has type size_t. However, system calls
    taking a return valur pointer to address length, use type socklen_t.
    Typically size_t is unsigned long, socklen_t is int, so casting
    msg_addrlen() return value to (socklen_t *) will break on (high-endian)
    64-bit platforms. svsp.
    
    darcs-hash:20060512123739-65a35-f40e2a77be00bd3293d8cc6877252b046afabcce.gz
    2a7b3c9a
Name
Last commit
Last update
..
sofia-sip Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
Makefile.am Loading commit data...
msg.c Loading commit data...
msg.docs Loading commit data...
msg_auth.c Loading commit data...
msg_basic.c Loading commit data...
msg_date.c Loading commit data...
msg_generic.c Loading commit data...
msg_header_copy.c Loading commit data...
msg_header_make.c Loading commit data...
msg_internal.h Loading commit data...
msg_mclass.c Loading commit data...
msg_mime.c Loading commit data...
msg_mime_table.c.in Loading commit data...
msg_name_hash.c Loading commit data...
msg_parser.awk Loading commit data...
msg_parser.c Loading commit data...
msg_parser_util.c Loading commit data...
msg_tag.c Loading commit data...
test_class.c Loading commit data...
test_class.h Loading commit data...
test_msg.c Loading commit data...
test_protos.h.in Loading commit data...
test_table.c.in Loading commit data...