Changeset 0b81cad0 in mainline for uspace/srv/net/tl/tcp/tcp_module.c
- Timestamp:
- 2010-11-06T00:19:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1712f87
- Parents:
- 0485135 (diff), 0578271 (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/tl/tcp/tcp_module.c
r0485135 r0b81cad0 44 44 #include <async.h> 45 45 #include <stdio.h> 46 #include <err .h>46 #include <errno.h> 47 47 #include <ipc/ipc.h> 48 48 #include <ipc/services.h> … … 61 61 int tl_module_start_standalone(async_client_conn_t client_connection) 62 62 { 63 ERROR_DECLARE; 64 63 ipcarg_t phonehash; 64 int rc; 65 65 66 async_set_client_connection(client_connection); 66 67 tcp_globals.net_phone = net_connect_module(); 67 ERROR_PROPAGATE(pm_init()); 68 69 ipcarg_t phonehash; 70 if (ERROR_OCCURRED(tcp_initialize(client_connection)) || 71 ERROR_OCCURRED(REGISTER_ME(SERVICE_TCP, &phonehash))) { 72 pm_destroy(); 73 return ERROR_CODE; 74 } 68 69 rc = pm_init(); 70 if (rc != EOK) 71 return rc; 72 73 rc = tcp_initialize(client_connection); 74 if (rc != EOK) 75 goto out; 76 77 rc = REGISTER_ME(SERVICE_TCP, &phonehash); 78 if (rc != EOK) 79 goto out; 75 80 76 81 async_manager(); 77 82 83 out: 78 84 pm_destroy(); 79 return EOK;85 return rc; 80 86 } 81 87
Note:
See TracChangeset
for help on using the changeset viewer.