- Timestamp:
- Feb 26, 2019 3:40:57 AM (6 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
r5935 r5936 1713 1713 errmsg)); 1714 1714 1715 if ( *ssock->param.cb.on_accept_complete2) {1715 if (ssock->param.cb.on_accept_complete2) { 1716 1716 (*ssock->param.cb.on_accept_complete2) 1717 1717 (ssock->parent, ssock, (pj_sockaddr_t*)&ssock->rem_addr, … … 2550 2550 2551 2551 if (ssock->param.cb.on_accept_complete2) { 2552 (*ssock->param.cb.on_accept_complete2) (ssock ->parent, ssock,2552 (*ssock->param.cb.on_accept_complete2) (ssock, NULL, 2553 2553 src_addr, src_addr_len, 2554 2554 status); -
pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c
r5889 r5936 1323 1323 1324 1324 if (accept_status != PJ_SUCCESS) { 1325 if (listener ->tls_setting.on_accept_fail_cb) {1325 if (listener && listener->tls_setting.on_accept_fail_cb) { 1326 1326 pjsip_tls_on_accept_fail_param param; 1327 1327 pj_ssl_sock_info ssi; … … 1331 1331 param.local_addr = &listener->factory.local_addr; 1332 1332 param.remote_addr = src_addr; 1333 if (pj_ssl_sock_get_info(new_ssock, &ssi) == PJ_SUCCESS) 1333 if (new_ssock && 1334 pj_ssl_sock_get_info(new_ssock, &ssi) == PJ_SUCCESS) 1335 { 1334 1336 param.last_native_err = ssi.last_native_err; 1337 } 1335 1338 1336 1339 (*listener->tls_setting.on_accept_fail_cb) (¶m);
Note: See TracChangeset
for help on using the changeset viewer.