Changes in uspace/srv/net/err.h [21580dd:aadf01e] in mainline


Ignore:
File:
1 edited

Legend:

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

    r21580dd raadf01e  
    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.