ec/ecp_nistz256.c: harmonize with latest indent script.
[oweals/openssl.git] / crypto / bio / b_sock.c
index e96667d91459cadc2c2fd51b3abe8d8248d42b4d..f7e95ee5c525e557dc77e090734cfff25f0c6d85 100644 (file)
@@ -150,8 +150,7 @@ int BIO_get_host_ip(const char *str, unsigned char *ip)
                goto err;
                }
 
-       /* cast to short because of win16 winsock definition */
-       if ((short)he->h_addrtype != AF_INET)
+       if (he->h_addrtype != AF_INET)
                {
                BIOerr(BIO_F_BIO_GET_HOST_IP,BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET);
                goto err;
@@ -549,7 +548,8 @@ int BIO_socket_ioctl(int fd, long type, void *arg)
        i=ioctlsocket(fd,type,(char *)arg);
 #else
 # if defined(OPENSSL_SYS_VMS)
-       /* 2011-02-18 SMS.
+       /*-
+        * 2011-02-18 SMS.
         * VMS ioctl() can't tolerate a 64-bit "void *arg", but we
         * observe that all the consumers pass in an "unsigned long *",
         * so we arrange a local copy with a short pointer, and use