summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-03 13:45:20 +0200
committerVolker Lendecke <vl@samba.org>2010-04-19 14:27:17 +0200
commitd29a5e69f4343f0876c374968dc00198243afef2 (patch)
tree5fff51158894f9f24b9b7193184a3cd1752a1333
parent4f88b7015de4a802ca98e6b9935b4d79115e48e0 (diff)
downloadsamba-d29a5e69f4343f0876c374968dc00198243afef2.tar.gz
samba-d29a5e69f4343f0876c374968dc00198243afef2.tar.bz2
samba-d29a5e69f4343f0876c374968dc00198243afef2.zip
libwbclient: Fix some pointless macro calls
-rw-r--r--nsswitch/libwbclient/wbc_sid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c
index a2ed5e1d3f..08d63d9699 100644
--- a/nsswitch/libwbclient/wbc_sid.c
+++ b/nsswitch/libwbclient/wbc_sid.c
@@ -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;