- Timestamp:
- Feb 27, 2013 9:41:37 AM (12 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x
- Property svn:mergeinfo changed
/pjproject/trunk merged: 4146
- Property svn:mergeinfo changed
-
pjproject/branches/1.x/pjsip/src/pjsip/sip_transport_tls.c
r3942 r4376 195 195 if (state_cb) { 196 196 pjsip_transport_state_info state_info; 197 197 pjsip_tls_state_info tls_info; 198 pj_ssl_sock_info ssl_info; 199 200 /* Init transport state info */ 198 201 pj_bzero(&state_info, sizeof(state_info)); 199 202 state_info.status = tls->close_reason; 203 204 if (tls->ssock && 205 pj_ssl_sock_get_info(tls->ssock, &ssl_info) == PJ_SUCCESS) 206 { 207 pj_bzero(&tls_info, sizeof(tls_info)); 208 tls_info.ssl_sock_info = &ssl_info; 209 state_info.ext_info = &tls_info; 210 } 211 200 212 (*state_cb)(&tls->base, PJSIP_TP_STATE_DISCONNECTED, &state_info); 201 213 }
Note: See TracChangeset
for help on using the changeset viewer.