summaryrefslogtreecommitdiff
path: root/sshlogin.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-04 16:45:09 +1000
committerDamien Miller <djm@mindrot.org>2002-09-04 16:45:09 +1000
commitebc230662977241a9fd9c68034de849772d39438 (patch)
tree9cb04f9853c894f86e2ec185e182460eb30d5cac /sshlogin.c
parentaf65304a3c99a9a68d507ce0aefd2e7983eb396b (diff)
- 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 e76f9453..4cd1c005 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;