summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/session.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-02-04 15:32:28 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-02-04 15:32:28 +0000
commitdda52756dc38adc836a931454a6d6b3cfcac978b (patch)
tree7a5c0d16008cd6b4ef4a67db67ec5af35e46ae29 /usr.bin/ssh/session.c
parent16979520bbe106bb4e81a0d4213e2c053956e333 (diff)
unexpand and remove end-of-line whitespace; ok markus@
Diffstat (limited to 'usr.bin/ssh/session.c')
-rw-r--r--usr.bin/ssh/session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index a32b151a1ba..ade4f1ed30f 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -33,7 +33,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.52 2001/02/03 10:08:37 markus Exp $");
+RCSID("$OpenBSD: session.c,v 1.53 2001/02/04 15:32:25 stevesk Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -114,7 +114,7 @@ extern int startup_pipe;
static char *xauthfile;
/* original command from peer. */
-char *original_command = NULL;
+char *original_command = NULL;
/* data */
#define MAX_SESSIONS 10
@@ -830,7 +830,7 @@ do_child(const char *command, struct passwd * pw, const char *term,
(LOGIN_SETALL & ~LOGIN_SETPATH)) < 0) {
perror("unable to set user context");
exit(1);
-
+
}
#else
if (setlogin(pw->pw_name) < 0)
@@ -1059,7 +1059,7 @@ do_child(const char *command, struct passwd * pw, const char *term,
if (f) {
fprintf(f, "add %s %s %s\n", display,
auth_proto, auth_data);
- if (screen != NULL)
+ if (screen != NULL)
fprintf(f, "add %.*s/unix%s %s %s\n",
(int)(screen-display), display,
screen, auth_proto, auth_data);