Changeset 5870 for pjproject


Ignore:
Timestamp:
Aug 28, 2018 7:05:43 AM (8 months ago)
Author:
riza
Message:

Re #2141: Fix variable declaration misplacement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c

    r5869 r5870  
    726726    /* Initialize initial timer. */ 
    727727    if (is_server && listener->initial_timeout) { 
     728        pj_time_val delay = { 0 }; 
     729 
    728730        tcp->initial_timer.user_data = (void*)tcp; 
    729731        tcp->initial_timer.cb = &tcp_initial_timer; 
    730  
    731         pj_time_val delay = { 0 }; 
     732         
    732733        delay.sec = listener->initial_timeout; 
    733734        pjsip_endpt_schedule_timer(listener->endpt,  
Note: See TracChangeset for help on using the changeset viewer.