From 367b1a398d5b22a65416a43cf489c9203e7e4012 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Thu, 31 Mar 2016 02:18:02 -0500 Subject: [PATCH] authd/providers/ident: remove pointless memcpy --- authd/providers/ident.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/providers/ident.c b/authd/providers/ident.c index 96bb7bc2..a2b320be 100644 --- a/authd/providers/ident.c +++ b/authd/providers/ident.c @@ -325,8 +325,8 @@ ident_start(struct auth_client *auth) } /* Build sockaddr_storages for rb_connect_tcp below */ - memcpy(&l_addr, &auth->l_addr, sizeof(l_addr)); - memcpy(&c_addr, &auth->c_addr, sizeof(c_addr)); + l_addr = auth->l_addr; + c_addr = auth->c_addr; /* Set the ports correctly */ #ifdef RB_IPV6