Ignore:
Timestamp:
Jul 25, 2008 10:45:34 AM (16 years ago)
Author:
bennylp
Message:

Fixed linking errors in pjnath when TCP is disabled in PJLIB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjturn-srv/main.c

    r1929 r2177  
    147147        return err("Error creating UDP listener", status); 
    148148 
     149#if PJ_HAS_TCP 
    149150    status = pj_turn_listener_create_tcp(srv, pj_AF_INET(), NULL,  
    150151                                         TURN_PORT, 1, 0, &listener); 
    151152    if (status != PJ_SUCCESS) 
    152153        return err("Error creating listener", status); 
     154#endif 
    153155 
    154156    status = pj_turn_srv_add_listener(srv, listener); 
Note: See TracChangeset for help on using the changeset viewer.