mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"
This commit is contained in:
parent
8b4499942e
commit
58a5e764a9
@ -99,9 +99,10 @@ again:
|
|||||||
line[strlen(line)-1] = 0;
|
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);
|
i = str_list_length(params);
|
||||||
|
|
||||||
if (i > 0 && isdigit(params[0][0])) {
|
if (i > 0 && isdigit(params[0][0])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user