mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro
metze (This used to be commit de2e8d5db93d32e5ebf04a2018a08f766eb9a233)
This commit is contained in:
parent
8d7257453c
commit
b6737afbc7
@ -24,10 +24,11 @@
|
||||
|
||||
/* Private macros */
|
||||
|
||||
#define BAIL_ON_WBC_ERROR(x) \
|
||||
do { \
|
||||
if ((x) != WBC_ERR_SUCCESS) \
|
||||
goto done; \
|
||||
#define BAIL_ON_WBC_ERROR(x) \
|
||||
do { \
|
||||
if (!WBC_ERROR_IS_OK(x)) { \
|
||||
goto done; \
|
||||
} \
|
||||
} while(0);
|
||||
|
||||
#define BAIL_ON_PTR_ERROR(x, status) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user