mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
c63a9da326
commit
ab5f57ea17
2
third-party/popen-noshell/popen_noshell.c
vendored
2
third-party/popen-noshell/popen_noshell.c
vendored
@ -253,7 +253,7 @@ static int popen_noshell_add_token(char ***argv, int *count, char *start, char *
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define popen_noshell_split_return_NULL { if (argv != NULL) free(argv); if (command != NULL) free(command); return NULL; }
|
||||
#define popen_noshell_split_return_NULL { if (argv != NULL) free(argv); if (command != NULL) free(command); *free_this_buf = NULL; return NULL; }
|
||||
char ** popen_noshell_split_command_to_argv(const char *command_original, char **free_this_buf) {
|
||||
char *command;
|
||||
size_t i, len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user