From 679e7ef6e68c9d355cc5f1764600ee8999b3e021 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 10 Apr 2010 15:28:42 +0200 Subject: libwbclient: Fix some pointless macro calls --- nsswitch/libwbclient/wbc_sid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nsswitch/libwbclient') 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, -- cgit