summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-06-29 17:52:17 +0000
committerKevin Steves <stevesk@pobox.com>2001-06-29 17:52:17 +0000
commit9b26f96c122c2268debbe418b42a2eb1dd19896b (patch)
tree14d8987f242443b4ca153bc72a7f8fa5eb598fe0
parent78e83b3e5e711f3bc462c76e1f07a6d980f9b529 (diff)
- (stevesk) session.c: use u_int for envsize
-rw-r--r--ChangeLog3
-rw-r--r--session.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b5120591..51d77751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
- (bal) Fixed _DISABLE_VPOSIX in readpassphrase.c.
- (bal) Updated zlib's home. Thanks to David Howe <DaveHowe@gmx.co.uk>.
- (stevesk) remove _REENTRANT #define
+ - (stevesk) session.c: use u_int for envsize
20010628
- (djm) Sync openbsd-compat with -current libc
@@ -5822,4 +5823,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1342 2001/06/29 16:56:16 stevesk Exp $
+$Id: ChangeLog,v 1.1343 2001/06/29 17:52:18 stevesk Exp $
diff --git a/session.c b/session.c
index 35e49c74..e50fd68b 100644
--- a/session.c
+++ b/session.c
@@ -814,7 +814,7 @@ read_environment_file(char ***env, u_int *envsize,
/*
* Sets any environment variables which have been specified by PAM
*/
-void do_pam_environment(char ***env, int *envsize)
+void do_pam_environment(char ***env, u_int *envsize)
{
char *equals, var_name[512], var_val[512];
char **pam_env;
@@ -843,7 +843,7 @@ void do_pam_environment(char ***env, int *envsize)
#endif /* USE_PAM */
#ifdef HAVE_CYGWIN
-void copy_environment(char ***env, int *envsize)
+void copy_environment(char ***env, u_int *envsize)
{
char *equals, var_name[512], var_val[512];
int i;