Changeset 3107


Ignore:
Timestamp:
Feb 24, 2010 9:04:46 AM (15 years ago)
Author:
bennylp
Message:

Fixed ticket #1040: Problem with getting the default IP interface on FreeBSD due to wrong argument to connect() (thanks Roman Grachev for the patch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_common.c

    r3037 r3107  
    915915    } 
    916916 
    917     status = pj_sock_connect(fd, &a, sizeof(a)); 
     917    status = pj_sock_connect(fd, &a, pj_sockaddr_get_len(&a)); 
    918918    if (status != PJ_SUCCESS) { 
    919919        pj_sock_close(fd); 
Note: See TracChangeset for help on using the changeset viewer.