Rev 3846 | Rev 4350 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3846 | Rev 3912 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* |
1 | /* |
2 | * Copyright (c) 2008 Lukas Mejdrech |
2 | * Copyright (c) 2009 Lukas Mejdrech |
3 | * All rights reserved. |
3 | * All rights reserved. |
4 | * |
4 | * |
5 | * Redistribution and use in source and binary forms, with or without |
5 | * Redistribution and use in source and binary forms, with or without |
6 | * modification, are permitted provided that the following conditions |
6 | * modification, are permitted provided that the following conditions |
7 | * are met: |
7 | * are met: |
Line 25... | Line 25... | ||
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup net |
29 | /** @addtogroup net |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | 32 | ||
33 | /** @file |
33 | /** @file |
34 | */ |
34 | */ |
35 | 35 | ||
Line 101... | Line 101... | ||
101 | int main( int argc, char * argv[] ){ |
101 | int main( int argc, char * argv[] ){ |
102 | ERROR_DECLARE; |
102 | ERROR_DECLARE; |
103 | 103 | ||
104 | printf("\nTask %d - ", task_get_id()); |
104 | printf("\nTask %d - ", task_get_id()); |
105 | module_print_name(); |
105 | module_print_name(); |
106 | if( ERROR_OCCURED( module_start( client_connection ))){ |
106 | if( ERROR_OCCURRED( module_start( client_connection ))){ |
107 | printf( " - ERROR %i", ERROR_CODE ); |
107 | printf( " - ERROR %i", ERROR_CODE ); |
108 | return ERROR_CODE; |
108 | return ERROR_CODE; |
109 | } |
109 | } |
110 | return EOK; |
110 | return EOK; |
111 | } |
111 | } |