1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"

This commit is contained in:
Matthias Dieter Wallnöfer 2009-10-17 22:35:21 +02:00 committed by Andrew Bartlett
parent 8b4499942e
commit 58a5e764a9

View File

@ -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])) {