Changeset 4537 for pjproject/trunk/pjlib/src/pj/activesock.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/activesock.c
r4461 r4537 371 371 372 372 r->pkt = (pj_uint8_t*)readbuf[i]; 373 r->max_size = size_to_read= buff_size;373 size_to_read = r->max_size = buff_size; 374 374 375 375 status = pj_ioqueue_recv(asock->key, &r->op_key, r->pkt, &size_to_read, … … 430 430 431 431 r->pkt = (pj_uint8_t*) readbuf[i]; 432 r->max_size = size_to_read= buff_size;432 size_to_read = r->max_size = buff_size; 433 433 r->src_addr_len = sizeof(r->src_addr); 434 434 … … 533 533 * sockets, it means we've got some error (e.g. EWOULDBLOCK). 534 534 */ 535 status = -bytes_read;535 status = (pj_status_t)-bytes_read; 536 536 } 537 537
Note: See TracChangeset
for help on using the changeset viewer.