Ignore:
Timestamp:
Apr 6, 2007 10:25:23 AM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #215: Build error when PJ_HAS_TCP is set to zero (thanks ChenHuan?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip-apps/src/samples/pjsip-perf.c

    r974 r1158  
    772772            addrname.port = app.local_port; 
    773773 
    774         if (app.use_tcp) { 
     774        if (0) { 
     775#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 
     776        } else if (app.use_tcp) { 
    775777            pj_sockaddr_in local_addr; 
    776778            pjsip_tpfactory *tpfactory; 
     
    784786                app.local_port = tpfactory->addr_name.port; 
    785787            } 
     788#endif 
    786789        } else { 
    787790            pjsip_transport *tp; 
Note: See TracChangeset for help on using the changeset viewer.