X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbio%2Fb_addr.c;h=ba26c9144af271feeea6438d233d744d2915e1bc;hp=b2cd83c3929a78b94518bd3a5e7f5a5bdcf9bdbd;hb=177503752b24299cc97ccf07062a3b79c4f28899;hpb=5859722c45219c33e37a797190381f41241083e1 diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index b2cd83c392..ba26c9144a 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -76,7 +76,7 @@ int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa) } #endif #ifdef AF_UNIX - if (ap->sa.sa_family == AF_UNIX) { + if (sa->sa_family == AF_UNIX) { ap->s_un = *(const struct sockaddr_un *)sa; return 1; }