mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
Remove extern environ from the requirements
This commit is contained in:
@@ -669,7 +669,7 @@ void ssh_execute_command(const char *command, socket_t in, socket_t out){
|
||||
dup2(out,2);
|
||||
close(in);
|
||||
close(out);
|
||||
execve(args[0],(char * const *)args,(char * const *)environ);
|
||||
execv(args[0],(char * const *)args);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user