Ignore:
Timestamp:
Mar 31, 2011 7:38:57 AM (14 years ago)
Author:
ming
Message:

Re #1221: Fixed wrong reference to the socket variable.

File:
1 edited

Legend:

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

    r3480 r3492  
    552552        pj_int32_t val = 1; 
    553553        if (type == pj_SOCK_STREAM()) { 
    554             pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_NOSIGPIPE(), 
     554            pj_sock_setsockopt(*sock, pj_SOL_SOCKET(), pj_SO_NOSIGPIPE(), 
    555555                               &val, sizeof(val)); 
    556556        } 
Note: See TracChangeset for help on using the changeset viewer.