Changeset 5970
- Timestamp:
- Apr 16, 2019 4:08:04 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_common_abs.c
r5907 r5970 1281 1281 pj_ioqueue_unlock_key(key); 1282 1282 1283 (*key->cb.on_read_complete)(key, op_key, bytes_status); 1283 if (key->cb.on_read_complete) 1284 (*key->cb.on_read_complete)(key, op_key, bytes_status); 1284 1285 return PJ_SUCCESS; 1285 1286 } … … 1295 1296 pj_ioqueue_unlock_key(key); 1296 1297 1297 (*key->cb.on_write_complete)(key, op_key, bytes_status); 1298 if (key->cb.on_write_complete) 1299 (*key->cb.on_write_complete)(key, op_key, bytes_status); 1298 1300 return PJ_SUCCESS; 1299 1301 } … … 1309 1311 pj_ioqueue_unlock_key(key); 1310 1312 1311 (*key->cb.on_accept_complete)(key, op_key, 1312 PJ_INVALID_SOCKET, 1313 (pj_status_t)bytes_status); 1313 if (key->cb.on_accept_complete) { 1314 (*key->cb.on_accept_complete)(key, op_key, 1315 PJ_INVALID_SOCKET, 1316 (pj_status_t)bytes_status); 1317 } 1314 1318 return PJ_SUCCESS; 1315 1319 }
Note: See TracChangeset
for help on using the changeset viewer.