Changeset 71b00dcc in mainline for uspace/srv/net/err.h


Ignore:
Timestamp:
2010-03-07T22:51:38Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60ab6c3
Parents:
b5cbff4 (diff), 31c80a5 (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.
Message:

Merge from lp:~lukasmejdrech/helenos/network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/err.h

    rb5cbff4 r71b00dcc  
    6262#ifdef CONFIG_DEBUG
    6363
    64 #define ERROR_OCCURRED( value )         ((( ERROR_CODE = ( value )) != EOK ) && ({ printf( "error at %s:%d %d\n", __FILE__, __LINE__, ERROR_CODE ); 1; }))
     64#define ERROR_OCCURRED(value)           (((ERROR_CODE = (value)) != EOK) && ({printf("error at %s:%d %d\n", __FILE__, __LINE__, ERROR_CODE); 1;}))
    6565
    6666#else
    6767
    68 #define ERROR_OCCURRED( value )         (( ERROR_CODE = ( value )) != EOK )
     68#define ERROR_OCCURRED(value)           ((ERROR_CODE = (value)) != EOK)
    6969
    7070#endif
     
    7474 */
    7575
    76 #define ERROR_PROPAGATE( value )        if( ERROR_OCCURRED( value )) return ERROR_CODE
     76#define ERROR_PROPAGATE(value)  if(ERROR_OCCURRED(value)) return ERROR_CODE
    7777
    7878#endif
Note: See TracChangeset for help on using the changeset viewer.