diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-10 15:28:42 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-19 14:27:17 +0200 |
commit | 679e7ef6e68c9d355cc5f1764600ee8999b3e021 (patch) | |
tree | ca0c7cc8430ccdc26281f56f28540ab952b330c1 /nsswitch/libwbclient | |
parent | 3d3b84bdec1406ef888b15d1fcd181b316fa7a86 (diff) | |
download | samba-679e7ef6e68c9d355cc5f1764600ee8999b3e021.tar.gz samba-679e7ef6e68c9d355cc5f1764600ee8999b3e021.tar.bz2 samba-679e7ef6e68c9d355cc5f1764600ee8999b3e021.zip |
libwbclient: Fix some pointless macro calls
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r-- | nsswitch/libwbclient/wbc_sid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c index 20f70b5b91..bbe6827bb6 100644 --- a/nsswitch/libwbclient/wbc_sid.c +++ b/nsswitch/libwbclient/wbc_sid.c @@ -511,7 +511,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid, if (!dom_sid) { wbc_status = WBC_ERR_INVALID_PARAM; - BAIL_ON_WBC_ERROR(wbc_status); + goto done; } wbc_status = wbcSidToString(dom_sid, &sid_string); @@ -527,7 +527,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid, extra_data = (char *)malloc(buflen); if (!extra_data) { wbc_status = WBC_ERR_NO_MEMORY; - BAIL_ON_WBC_ERROR(wbc_status); + goto done; } /* Build the sid list */ @@ -568,7 +568,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid, if (response.data.num_entries && !response.extra_data.data) { wbc_status = WBC_ERR_INVALID_RESPONSE; - BAIL_ON_WBC_ERROR(wbc_status); + goto done; } rids = talloc_array(NULL, uint32_t, |