Ignore:
Timestamp:
Jun 29, 2016 5:53:10 AM (5 years ago)
Author:
nanang
Message:

Misc (re #1928): Fixed various compile warnings.

File:
1 edited

Legend:

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

    r5338 r5366  
    13131313        /* Start keep-alive timer */ 
    13141314        if (pjsip_cfg()->tls.keep_alive_interval) { 
    1315             pj_time_val delay = {pjsip_cfg()->tls.keep_alive_interval, 0}; 
     1315            pj_time_val delay = {0};         
     1316            delay.sec = pjsip_cfg()->tls.keep_alive_interval; 
    13161317            pjsip_endpt_schedule_timer(listener->endpt,  
    13171318                                       &tls->ka_timer,  
     
    17871788    /* Start keep-alive timer */ 
    17881789    if (pjsip_cfg()->tls.keep_alive_interval) { 
    1789         pj_time_val delay = { pjsip_cfg()->tls.keep_alive_interval, 0 }; 
     1790        pj_time_val delay = {0};             
     1791        delay.sec = pjsip_cfg()->tls.keep_alive_interval; 
    17901792        pjsip_endpt_schedule_timer(tls->base.endpt, &tls->ka_timer,  
    17911793                                   &delay); 
Note: See TracChangeset for help on using the changeset viewer.