Changeset 5814ef7 in mainline
- Timestamp:
- 2010-03-23T23:16:00Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3db8889
- Parents:
- e417b96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/socket/socket_client.c
re417b96 r5814ef7 421 421 int socket_id; 422 422 services_t service; 423 ipcarg_t fragment_size; 424 ipcarg_t header_size; 423 425 424 426 // find the appropriate service … … 478 480 return socket_id; 479 481 } 480 if(ERROR_OCCURRED((int) async_req_3_3(phone, NET_SOCKET, socket_id, 0, service, NULL, (ipcarg_t *) &socket->data_fragment_size, (ipcarg_t *) &socket->header_size))){482 if(ERROR_OCCURRED((int) async_req_3_3(phone, NET_SOCKET, socket_id, 0, service, NULL, &fragment_size, &header_size))){ 481 483 fibril_rwlock_write_unlock(&socket_globals.lock); 482 484 free(socket); 483 485 return ERROR_CODE; 484 486 } 487 socket->data_fragment_size = (size_t) fragment_size; 488 socket->header_size = (size_t) header_size; 485 489 // finish the new socket initialization 486 490 socket_initialize(socket, socket_id, phone, service);
Note:
See TracChangeset
for help on using the changeset viewer.