Apply the envp fix to the other call to main() as well.

Submitted by:	Peter Edwards <pmedwards@eircom.net>
This commit is contained in:
Gregory Neil Shapiro 2002-08-09 02:39:38 +00:00
parent fd9430fea6
commit b0c70f811b

View File

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