Changeset ecff3d9 in mainline for uspace/srv/tcp/tcp.c
- Timestamp:
- 2012-02-01T22:06:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 59157eb
- Parents:
- c76e926
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/tcp/tcp.c
rc76e926 recff3d9 186 186 187 187 rc = inet_init(42, &tcp_inet_ev_ops); 188 if (rc != EOK) 188 if (rc != EOK) { 189 log_msg(LVL_ERROR, "Failed connecting to internet service."); 189 190 return ENOENT; 191 } 190 192 191 193 rc = tcp_sock_init(); 192 if (rc != EOK) 194 if (rc != EOK) { 195 log_msg(LVL_ERROR, "Failed initializing socket service."); 193 196 return ENOENT; 197 } 194 198 195 199 return EOK; … … 208 212 } 209 213 210 tcp_init(); 214 rc = tcp_init(); 215 if (rc != EOK) 216 return 1; 217 218 printf(NAME ": Accepting connections.\n"); 211 219 task_retval(0); 212 220 async_manager();
Note:
See TracChangeset
for help on using the changeset viewer.