Apply the envp fix to the other call to main() as well.
Submitted by: Peter Edwards <pmedwards@eircom.net>
This commit is contained in:
parent
fd9430fea6
commit
b0c70f811b
@ -81,7 +81,7 @@ int crunched_here(char *path)
|
||||
}
|
||||
|
||||
|
||||
int crunched_main(int argc, char **argv)
|
||||
int crunched_main(int argc, char **argv, char **envp)
|
||||
{
|
||||
struct stub *ep;
|
||||
int columns, len;
|
||||
@ -89,7 +89,7 @@ int crunched_main(int argc, char **argv)
|
||||
if(argc <= 1)
|
||||
crunched_usage();
|
||||
|
||||
return main(--argc, ++argv);
|
||||
return main(--argc, ++argv, envp);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user