Changeset bfd7aac in mainline for uspace/srv/net/socket/socket_client.c
- Timestamp:
- 2010-02-17T19:19:08Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e2e0c1e
- Parents:
- 01a9ef5 (diff), b8da2a3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/socket/socket_client.c
r01a9ef5 rbfd7aac 541 541 socket_ref new_socket; 542 542 aid_t message_id; 543 int result; 543 ipcarg_t ipc_result; 544 int result; 544 545 ipc_call_t answer; 545 546 … … 592 593 ipc_data_read_start( socket->phone, cliaddr, * addrlen ); 593 594 fibril_rwlock_write_unlock( & socket_globals.lock ); 594 async_wait_for( message_id, ( ipcarg_t * ) & result ); 595 async_wait_for( message_id, & ipc_result ); 596 result = (int) ipc_result; 595 597 if( result > 0 ){ 596 598 if( result != socket_id ){ … … 734 736 socket_ref socket; 735 737 aid_t message_id; 736 int result; 738 ipcarg_t ipc_result; 739 int result; 737 740 size_t fragments; 738 741 size_t * lengths; … … 793 796 } 794 797 } 795 async_wait_for( message_id, ( ipcarg_t * ) & result ); 798 async_wait_for( message_id, & ipc_result ); 799 result = (int) ipc_result; 796 800 // if successful 797 801 if( result == EOK ){
Note:
See TracChangeset
for help on using the changeset viewer.