From: Volker Lendecke Date: Tue, 19 May 2009 21:07:36 +0000 (+0200) Subject: Make local-wbclient flexible in # of connections and ops X-Git-Tag: tdb-1.1.5~476 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=ae386415b6fd15081f3b94faec917dafdeee1f93 Make local-wbclient flexible in # of connections and ops --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index fa1a22228ac..2c68ee609a4 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -5809,7 +5809,7 @@ static bool run_local_wbclient(int dummy) goto fail; } - wb_ctx = TALLOC_ARRAY(ev, struct wb_context *, torture_numops); + wb_ctx = TALLOC_ARRAY(ev, struct wb_context *, nprocs); if (wb_ctx == NULL) { goto fail; } @@ -5817,12 +5817,14 @@ static bool run_local_wbclient(int dummy) ZERO_STRUCT(wb_req); wb_req.cmd = WINBINDD_PING; - for (i=0; i