From b0f1c8df1641bf0e1c53750f4cc126d7b1e21159 Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Wed, 20 Jul 2005 13:43:38 +0000 Subject: r8653: Fix bug #2659. (This used to be commit 2720c82a950a0afded25c2c161cda47ea412fea3) --- source3/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index d3596fcd98..11cea53188 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -713,7 +713,7 @@ static BOOL run_netbench(int client) nb_setup(cli); - slprintf(cname,sizeof(fname), "client%d", client); + slprintf(cname,sizeof(cname)-1, "client%d", client); f = fopen(client_txt, "r"); -- cgit