Rev 4499 | Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4499 | Rev 4579 | ||
|---|---|---|---|
| Line 66... | Line 66... | ||
| 66 | 66 | ||
| 67 | ipcarg_t phonehash; |
67 | ipcarg_t phonehash; |
| 68 | 68 | ||
| 69 | async_set_client_connection( client_connection ); |
69 | async_set_client_connection( client_connection ); |
| 70 | udp_globals.net_phone = net_connect_module( SERVICE_NETWORKING ); |
70 | udp_globals.net_phone = net_connect_module( SERVICE_NETWORKING ); |
| - | 71 | if( udp_globals.net_phone < 0 ){ |
|
| - | 72 | return udp_globals.net_phone; |
|
| - | 73 | } |
|
| 71 | ERROR_PROPAGATE( pm_init()); |
74 | ERROR_PROPAGATE( pm_init()); |
| 72 | if( ERROR_OCCURRED( udp_initialize( client_connection )) |
75 | if( ERROR_OCCURRED( udp_initialize( client_connection )) |
| 73 | || ERROR_OCCURRED( REGISTER_ME( SERVICE_UDP, & phonehash ))){ |
76 | || ERROR_OCCURRED( REGISTER_ME( SERVICE_UDP, & phonehash ))){ |
| 74 | pm_destroy(); |
77 | pm_destroy(); |
| 75 | return ERROR_CODE; |
78 | return ERROR_CODE; |