1
0
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:
Stefan Metzmacher 2008-03-31 12:01:24 +02:00
parent 8d7257453c
commit b6737afbc7

View File

@ -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) \