summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-01 02:11:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-01 02:11:26 +0000
commit6984d5429252661073881fa6896d7cafa8e1b9ac (patch)
tree16c72f76758bf7c3dbc3c7de3031f05c250bed84 /usr.bin/ssh
parentf9eaaf626f69eb97d48d853d62e9ee0d1409989e (diff)
split line so that p will have an easier time next time around
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/authfd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/authfd.c b/usr.bin/ssh/authfd.c
index ce3268c96f3..66e81f52abc 100644
--- a/usr.bin/ssh/authfd.c
+++ b/usr.bin/ssh/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 <openssl/evp.h>
@@ -75,7 +75,8 @@ ssh_get_authentication_socket(void)
sunaddr.sun_family = AF_UNIX;
strlcpy(sunaddr.sun_path, authsocket, sizeof(sunaddr.sun_path));
- sunaddr.sun_len = len = SUN_LEN(&sunaddr)+1;
+ len = SUN_LEN(&sunaddr)+1;
+ sunaddr.sun_len = len;
sock = socket(AF_UNIX, SOCK_STREAM, 0);
if (sock < 0)