summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2005-07-20 13:43:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:13 -0500
commitb0f1c8df1641bf0e1c53750f4cc126d7b1e21159 (patch)
tree417ba7b563031dd39cd75262551e0814db17be07 /source3/torture
parentdc1246e4d484f0d8f10b2d429672e5710363c096 (diff)
downloadsamba-b0f1c8df1641bf0e1c53750f4cc126d7b1e21159.tar.gz
samba-b0f1c8df1641bf0e1c53750f4cc126d7b1e21159.tar.bz2
samba-b0f1c8df1641bf0e1c53750f4cc126d7b1e21159.zip
r8653: Fix bug #2659.
(This used to be commit 2720c82a950a0afded25c2c161cda47ea412fea3)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
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");