1
0
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:
Aris Adamantiadis
2010-09-29 17:06:54 +02:00
parent be837cdbc2
commit 9f53906209

View File

@@ -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);
}