Ignore:
Timestamp:
2010-03-24T18:54:50Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eaf22d4
Parents:
63f8966 (diff), 3db8889 (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.
Message:

Merge from lp:~lukasmejdrech/helenos/network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/socket/socket_client.c

    r63f8966 r40e29f5  
    421421        int socket_id;
    422422        services_t service;
     423        ipcarg_t fragment_size;
     424        ipcarg_t header_size;
    423425
    424426        // find the appropriate service
     
    478480                return socket_id;
    479481        }
    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))){
    481483                fibril_rwlock_write_unlock(&socket_globals.lock);
    482484                free(socket);
    483485                return ERROR_CODE;
    484486        }
     487        socket->data_fragment_size = (size_t) fragment_size;
     488        socket->header_size = (size_t) header_size;
    485489        // finish the new socket initialization
    486490        socket_initialize(socket, socket_id, phone, service);
Note: See TracChangeset for help on using the changeset viewer.