From c3f7d2673362966e95f35be4e042ef89b831ec53 Mon Sep 17 00:00:00 2001 From: mouring Date: Mon, 5 Mar 2001 06:33:23 +0000 Subject: [PATCH] - deraadt@cvs.openbsd.org 2001/03/01 02:11:25 [authfd.c] split line so that p will have an easier time next time around --- ChangeLog | 3 +++ authfd.c | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b626a84f..5856add9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -92,6 +92,9 @@ - markus@cvs.openbsd.org 2001/02/28 21:31:32 [channels.c] typo + - deraadt@cvs.openbsd.org 2001/03/01 02:11:25 + [authfd.c] + split line so that p will have an easier time next time around 20010304 - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid. diff --git a/authfd.c b/authfd.c index db877e43..74518e3f 100644 --- a/authfd.c +++ b/authfd.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfd.c,v 1.35 2001/02/04 15:32:22 stevesk Exp $"); +RCSID("$OpenBSD: authfd.c,v 1.36 2001/03/01 02:11:25 deraadt Exp $"); #include @@ -75,10 +75,9 @@ ssh_get_authentication_socket(void) sunaddr.sun_family = AF_UNIX; strlcpy(sunaddr.sun_path, authsocket, sizeof(sunaddr.sun_path)); -#ifdef HAVE_SUN_LEN_IN_SOCKADDR_UN - sunaddr.sun_len = len = SUN_LEN(&sunaddr)+1; -#else /* HAVE_SUN_LEN_IN_SOCKADDR_UN */ len = SUN_LEN(&sunaddr)+1; +#ifdef HAVE_SUN_LEN_IN_SOCKADDR_UN + sunaddr.sun_len = len; #endif /* HAVE_SUN_LEN_IN_SOCKADDR_UN */ sock = socket(AF_UNIX, SOCK_STREAM, 0); -- 2.45.2