summaryrefslogtreecommitdiffstats
path: root/source
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
commit2720c82a950a0afded25c2c161cda47ea412fea3 (patch)
tree455ae7563a2a169ffa1df3da92076a8b007c11b4 /source
parentd395ba2d40fdb5df04f0b6fbe9b4893002a3fcae (diff)
downloadsamba-2720c82a950a0afded25c2c161cda47ea412fea3.tar.gz
samba-2720c82a950a0afded25c2c161cda47ea412fea3.tar.xz
samba-2720c82a950a0afded25c2c161cda47ea412fea3.zip
r8653: Fix bug #2659.
Diffstat (limited to 'source')
-rw-r--r--source/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
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");