diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-11-10 19:37:08 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-11-10 19:37:08 +0100 |
commit | 85c4f6c7bbd405fd101d8e58223e0f4660b1ca37 (patch) | |
tree | b62ba362acdc893fa8b12b976f881202eb046f43 | |
parent | f61424a6082bfafeb9f0a9c3b226fabe0ef2712f (diff) | |
download | gnunet-85c4f6c7bbd405fd101d8e58223e0f4660b1ca37.tar.gz gnunet-85c4f6c7bbd405fd101d8e58223e0f4660b1ca37.zip |
-fix warning
-rw-r--r-- | src/service/testing/testing_api_cmd_exec_bash_script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/service/testing/testing_api_cmd_exec_bash_script.c b/src/service/testing/testing_api_cmd_exec_bash_script.c index 7e7aafb69..171a2baac 100644 --- a/src/service/testing/testing_api_cmd_exec_bash_script.c +++ b/src/service/testing/testing_api_cmd_exec_bash_script.c | |||
@@ -59,7 +59,7 @@ struct BashScriptState | |||
59 | /** | 59 | /** |
60 | * Arguments for the script | 60 | * Arguments for the script |
61 | */ | 61 | */ |
62 | char **script_argv; | 62 | char *const*script_argv; |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Size of script_argv. | 65 | * Size of script_argv. |
@@ -196,8 +196,8 @@ const struct GNUNET_TESTING_Command | |||
196 | GNUNET_TESTING_cmd_exec_bash_script (const char *label, | 196 | GNUNET_TESTING_cmd_exec_bash_script (const char *label, |
197 | const char *script, | 197 | const char *script, |
198 | char *const script_argv[], | 198 | char *const script_argv[], |
199 | int argc, | 199 | int argc, |
200 | GNUNET_ChildCompletedCallback cb) | 200 | GNUNET_ChildCompletedCallback cb) |
201 | { | 201 | { |
202 | struct BashScriptState *bss; | 202 | struct BashScriptState *bss; |
203 | 203 | ||
@@ -208,7 +208,7 @@ GNUNET_TESTING_cmd_exec_bash_script (const char *label, | |||
208 | bss->cb = cb; | 208 | bss->cb = cb; |
209 | 209 | ||
210 | return GNUNET_TESTING_command_new (bss, | 210 | return GNUNET_TESTING_command_new (bss, |
211 | label, | 211 | label, |
212 | &exec_bash_script_run, | 212 | &exec_bash_script_run, |
213 | &exec_bash_script_cleanup, | 213 | &exec_bash_script_cleanup, |
214 | NULL, | 214 | NULL, |