Changes in uspace/srv/net/socket/socket_client.c [d510c0fe:7fb2ce3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/socket/socket_client.c
rd510c0fe r7fb2ce3 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.