Rev 3846 | Rev 4307 | Go to most recent revision | Show entire file | Regard 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 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 | } |