summaryrefslogtreecommitdiffstats
path: root/sshlogin.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-04 08:45:09 +0200
committerDamien Miller <djm@mindrot.org>2002-09-04 08:45:09 +0200
commitebc230662977241a9fd9c68034de849772d39438 (patch)
tree9cb04f9853c894f86e2ec185e182460eb30d5cac /sshlogin.c
parent - stevesk@cvs.openbsd.org 2002/08/27 17:18:40 (diff)
downloadopenssh-ebc230662977241a9fd9c68034de849772d39438.tar.xz
openssh-ebc230662977241a9fd9c68034de849772d39438.zip
- stevesk@cvs.openbsd.org 2002/08/29 15:57:25
[monitor.c session.c sshlogin.c sshlogin.h] pass addrlen with sockaddr *; from Hajimu UMEMOTO <ume@FreeBSD.org> NOTE: there are also p-specific parts to this patch. ok markus@
Diffstat (limited to 'sshlogin.c')
-rw-r--r--sshlogin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshlogin.c b/sshlogin.c
index e76f94534..4cd1c0059 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshlogin.c,v 1.4 2002/06/23 03:30:17 deraadt Exp $");
+RCSID("$OpenBSD: sshlogin.c,v 1.5 2002/08/29 15:57:25 stevesk Exp $");
#include "loginrec.h"
@@ -65,7 +65,7 @@ get_last_login_time(uid_t uid, const char *logname,
*/
void
record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid,
- const char *host, struct sockaddr * addr)
+ const char *host, struct sockaddr * addr, socklen_t addrlen)
{
struct logininfo *li;