Changeset 6042


Ignore:
Timestamp:
Jul 22, 2019 8:53:01 AM (5 years ago)
Author:
nanang
Message:

Re #2211: Fixed compile error in pjsip_dlg_create_uac() on MSVC2005, var declaration should be at the beginning of function.

File:
1 edited

Legend:

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

    r6037 r6042  
    155155                                          pjsip_dialog **p_dlg) 
    156156{ 
     157    pjsip_dlg_create_uac_param create_param; 
     158 
    157159    PJ_ASSERT_RETURN(ua && local_uri && remote_uri && p_dlg, PJ_EINVAL); 
    158160 
    159     pjsip_dlg_create_uac_param create_param; 
    160161    pj_bzero(&create_param, sizeof(create_param)); 
    161  
    162162    create_param.ua = ua; 
    163163    create_param.local_uri = *local_uri; 
Note: See TracChangeset for help on using the changeset viewer.