From 2720c82a950a0afded25c2c161cda47ea412fea3 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. --- source/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/torture/torture.c b/source/torture/torture.c index d3596fcd98d..11cea53188f 100644 --- a/source/torture/torture.c +++ b/source/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