summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-19 23:06:48 +0200
committerVolker Lendecke <vl@samba.org>2009-05-19 23:09:26 +0200
commit15424162ca2f8e6627f179bc704cf4fb4372e399 (patch)
tree3cf9213867aed58a8b5188b98443f3ae29b3bf1d /source3/lib
parentf1c093c89f3880108dabeb823860105b251db283 (diff)
downloadsamba-15424162ca2f8e6627f179bc704cf4fb4372e399.tar.gz
samba-15424162ca2f8e6627f179bc704cf4fb4372e399.tar.bz2
samba-15424162ca2f8e6627f179bc704cf4fb4372e399.zip
Fix wb_trans_done after conversion to unix calling conventions
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/wbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/wbclient.c b/source3/lib/wbclient.c
index 0d310d821b..63401fad46 100644
--- a/source3/lib/wbclient.c
+++ b/source3/lib/wbclient.c
@@ -621,8 +621,8 @@ static void wb_trans_done(struct tevent_req *subreq)
ret = wb_simple_trans_recv(subreq, state, &state->wb_resp, &err);
TALLOC_FREE(subreq);
-
- if (wb_trans_retry(req, state, map_wbc_err_from_errno(err))) {
+ if ((ret == -1)
+ && wb_trans_retry(req, state, map_wbc_err_from_errno(err))) {
return;
}