summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-02-21 15:37:02 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-02-21 15:37:02 +0000
commit3107efc12a83e8ae189cc00d92baa4a93424df45 (patch)
tree38cc6fe28c74f5b7dd23b772e3fc2ff995558018
parente37f63ffa0610021e8cd8f4fc523e405618c356d (diff)
- (bal) Minor session.c for cygwin. mispelt 'is_winnt' variable.
-rw-r--r--ChangeLog5
-rw-r--r--session.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index db2cf44e7..f1e396784 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120020221
2 - (bal) Minor session.c for cygwin. mispelt 'is_winnt' variable.
3
120020219 420020219
2 - (djm) OpenBSD CVS Sync 5 - (djm) OpenBSD CVS Sync
3 - mpech@cvs.openbsd.org 2002/02/13 08:33:47 6 - mpech@cvs.openbsd.org 2002/02/13 08:33:47
@@ -7653,4 +7656,4 @@
7653 - Wrote replacements for strlcpy and mkdtemp 7656 - Wrote replacements for strlcpy and mkdtemp
7654 - Released 1.0pre1 7657 - Released 1.0pre1
7655 7658
7656$Id: ChangeLog,v 1.1869 2002/02/19 21:58:19 mouring Exp $ 7659$Id: ChangeLog,v 1.1870 2002/02/21 15:37:02 mouring Exp $
diff --git a/session.c b/session.c
index d9d304746..674ff5862 100644
--- a/session.c
+++ b/session.c
@@ -1103,7 +1103,7 @@ static void
1103do_setusercontext(struct passwd *pw) 1103do_setusercontext(struct passwd *pw)
1104{ 1104{
1105#ifdef HAVE_CYGWIN 1105#ifdef HAVE_CYGWIN
1106 if (iswinnt) { 1106 if (is_winnt) {
1107#else /* HAVE_CYGWIN */ 1107#else /* HAVE_CYGWIN */
1108 if (getuid() == 0 || geteuid() == 0) { 1108 if (getuid() == 0 || geteuid() == 0) {
1109#endif /* HAVE_CYGWIN */ 1109#endif /* HAVE_CYGWIN */