Changeset b4ca0a9c in mainline for uspace/srv/net/tcp/sock.c
- Timestamp:
- 2012-07-10T11:53:50Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e01a35
- Parents:
- a33706e (diff), 33fc3ae (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/tcp/sock.c
ra33706e rb4ca0a9c 68 68 int tcp_sock_init(void) 69 69 { 70 int rc;71 72 70 socket_ports_initialize(&gsock); 73 71 74 72 async_set_client_connection(tcp_sock_connection); 75 76 rc = service_register(SERVICE_TCP);73 74 int rc = service_register(SERVICE_TCP); 77 75 if (rc != EOK) 78 76 return EEXIST; 79 77 80 78 return EOK; 81 79 } … … 153 151 sock, sock_id); 154 152 155 if (rc != EOK) 153 if (rc != EOK) { 154 fibril_destroy(sock->recv_fibril); 155 sock->recv_fibril = 0; 156 156 return rc; 157 } 157 158 158 159 sock_core = socket_cores_find(&sock->client->sockets, *sock_id);
Note:
See TracChangeset
for help on using the changeset viewer.