libwbclient: Fix some pointless macro calls
[ira/wip.git] / nsswitch / libwbclient / wbc_sid.c
index a2ed5e1d3f3a1455562e0feec7ea5bf3771ce6be..08d63d9699cf502ebb7641f7b3fde79cb7da04ae 100644 (file)
@@ -347,21 +347,21 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid,
 
                if (*p == '\0') {
                        wbc_status = WBC_ERR_INVALID_RESPONSE;
-                       BAIL_ON_WBC_ERROR(wbc_status);
+                       goto done;
                }
 
                types[i] = (enum wbcSidType)strtoul(p, &q, 10);
 
                if (*q != ' ') {
                        wbc_status = WBC_ERR_INVALID_RESPONSE;
-                       BAIL_ON_WBC_ERROR(wbc_status);
+                       goto done;
                }
 
                p = q+1;
 
                if ((q = strchr(p, '\n')) == NULL) {
                        wbc_status = WBC_ERR_INVALID_RESPONSE;
-                       BAIL_ON_WBC_ERROR(wbc_status);
+                       goto done;
                }
 
                *q = '\0';
@@ -374,7 +374,7 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid,
 
        if (*p != '\0') {
                wbc_status = WBC_ERR_INVALID_RESPONSE;
-               BAIL_ON_WBC_ERROR(wbc_status);
+               goto done;
        }
 
        wbc_status = WBC_ERR_SUCCESS;