authd/providers/ident: remove pointless memcpy

This commit is contained in:
Elizabeth Myers 2016-03-31 02:18:02 -05:00
parent 8c0b90de9f
commit 367b1a398d

View file

@ -325,8 +325,8 @@ ident_start(struct auth_client *auth)
} }
/* Build sockaddr_storages for rb_connect_tcp below */ /* Build sockaddr_storages for rb_connect_tcp below */
memcpy(&l_addr, &auth->l_addr, sizeof(l_addr)); l_addr = auth->l_addr;
memcpy(&c_addr, &auth->c_addr, sizeof(c_addr)); c_addr = auth->c_addr;
/* Set the ports correctly */ /* Set the ports correctly */
#ifdef RB_IPV6 #ifdef RB_IPV6