use client1, client2 not client0, client1 to better match netbench
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Mar 2004 02:09:51 +0000 (02:09 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 26 Mar 2004 02:09:51 +0000 (02:09 +0000)
(This used to be commit 4bbc77fa0c3a91fd34e1966892782f5b2a441359)

source4/torture/nbench/nbench.c

index e43772998051959725529d2abb3371d77ea64016..53ca760b99ec8891040753e75bd5f0dd024aae3e 100644 (file)
@@ -40,7 +40,7 @@ static BOOL run_netbench(struct cli_state *cli, int client)
 
        nb_setup(cli, client, warmup);
 
 
        nb_setup(cli, client, warmup);
 
-       asprintf(&cname, "client%d", client);
+       asprintf(&cname, "client%d", client+1);
 
        f = fopen(loadfile, "r");
 
 
        f = fopen(loadfile, "r");