diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 06:33:23 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 06:33:23 +0000 |
commit | afd3475ddf9e215d1e1948d1ec55723b8e9d42d6 (patch) | |
tree | b3255b90c42c70e2fb37b0275cfd7fe6cd2b02f2 /authfd.c | |
parent | b40204bf22e6e9fb71db567715009fe338ab05c2 (diff) |
- 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
Diffstat (limited to 'authfd.c')
-rw-r--r-- | authfd.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 <openssl/evp.h> @@ -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); |