RT4639: Typo when -DSSL_DEBUG
authorJon Loeliger <jdl@jdl.com>
Tue, 26 Jul 2016 16:48:20 +0000 (12:48 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 26 Jul 2016 16:48:51 +0000 (12:48 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_client.c

index bc89c984ac46494371225faced484d9f6dfb3fc6..0488a27d60eb24c9c592524af8f6e1398b9845b9 100644 (file)
@@ -2621,7 +2621,7 @@ static void print_stuff(BIO *bio, SSL *s, int full)
         if ((info.addr = BIO_ADDR_new()) != NULL
             && BIO_sock_info(sock, BIO_SOCK_INFO_ADDRESS, &info)) {
             BIO_printf(bio_c_out, "LOCAL PORT is %u\n",
-                       ntohs(BIO_ADDR_rawport(info.adr)));
+                       ntohs(BIO_ADDR_rawport(info.addr)));
         }
         BIO_ADDR_free(info.addr);
     }