• 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
docs Loading commit data...
libsofia-sip-ua Loading commit data...
libsofia-sip-ua-glib Loading commit data...
m4 Loading commit data...
packages Loading commit data...
scripts Loading commit data...
utils Loading commit data...
win32 Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYRIGHTS Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
README.developers Loading commit data...
RELEASE Loading commit data...
RELEASE.template Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...