diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-17 22:35:21 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-12-01 16:48:22 +1100 |
commit | 58a5e764a9c96229cb4daa99d3d8ef18c188b4fe (patch) | |
tree | a885244ae0ea272ee0a9221844b8e031b59a4a55 /source4 | |
parent | 8b4499942eff7bc6ea1b64cdc6ab6958b8f5d1a8 (diff) | |
download | samba-58a5e764a9c96229cb4daa99d3d8ef18c188b4fe.tar.gz samba-58a5e764a9c96229cb4daa99d3d8ef18c188b4fe.tar.bz2 samba-58a5e764a9c96229cb4daa99d3d8ef18c188b4fe.zip |
s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/nbench/nbench.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c index 05c889d1b7..b96a32b30e 100644 --- a/source4/torture/nbench/nbench.c +++ b/source4/torture/nbench/nbench.c @@ -99,9 +99,10 @@ again: line[strlen(line)-1] = 0; } - all_string_sub(line,"client1", cname, sizeof(line)); + all_string_sub(line, "client1", cname, sizeof(line)); - params = params0 = str_list_make_shell(NULL, line, " "); + params = params0 = const_str_list( + str_list_make_shell(NULL, line, " ")); i = str_list_length(params); if (i > 0 && isdigit(params[0][0])) { |