From 15424162ca2f8e6627f179bc704cf4fb4372e399 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 19 May 2009 23:06:48 +0200 Subject: Fix wb_trans_done after conversion to unix calling conventions --- source3/lib/wbclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') 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; } -- cgit