libwbclient: Fix some pointless macro calls
authorVolker Lendecke <vl@samba.org>
Sat, 3 Apr 2010 11:45:20 +0000 (13:45 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 Apr 2010 12:27:17 +0000 (14:27 +0200)
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;