From 1474d2d4568d5bcd006e338c6073e91d5c571412 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Fri, 14 Apr 2000 10:30:35 +0000 Subject: whitespace cleanup --- usr.bin/ssh/login.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'usr.bin/ssh/login.c') diff --git a/usr.bin/ssh/login.c b/usr.bin/ssh/login.c index 574a9cc88c6..5669c46d474 100644 --- a/usr.bin/ssh/login.c +++ b/usr.bin/ssh/login.c @@ -1,24 +1,24 @@ /* - * + * * login.c - * + * * Author: Tatu Ylonen - * + * * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved - * + * * Created: Fri Mar 24 14:51:08 1995 ylo - * + * * This file performs some of the things login(1) normally does. We cannot * easily use something like login -p -h host -f user, because there are * several different logins around, and it is hard to determined what kind of * login the current system has. Also, we want to be able to execute commands * on a tty. - * + * */ #include "includes.h" -RCSID("$Id: login.c,v 1.11 2000/01/04 00:07:59 markus Exp $"); +RCSID("$Id: login.c,v 1.12 2000/04/14 10:30:31 markus Exp $"); #include #include @@ -35,7 +35,7 @@ RCSID("$Id: login.c,v 1.11 2000/01/04 00:07:59 markus Exp $"); * is found). The name of the host used last time is returned in buf. */ -unsigned long +unsigned long get_last_login_time(uid_t uid, const char *logname, char *buf, unsigned int bufsize) { @@ -67,7 +67,7 @@ get_last_login_time(uid_t uid, const char *logname, * were more standardized. */ -void +void record_login(int pid, const char *ttyname, const char *user, uid_t uid, const char *host, struct sockaddr * addr) { @@ -115,7 +115,7 @@ record_login(int pid, const char *ttyname, const char *user, uid_t uid, /* Records that the user has logged out. */ -void +void record_logout(int pid, const char *ttyname) { const char *line = ttyname + 5; /* /dev/ttyq8 -> ttyq8 */ -- cgit v1.2.3