From 365f2725c13fad02f60bc7d32b1b2216f95ff3b7 Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 23 Jan 2002 00:48:53 +0000 Subject: [PATCH] * starttls.c (tls_connect): Replace socklen_t with size_t to compile on Solaris 2.6, and also fix typo. --- starttls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/starttls.c b/starttls.c index 3666177..f8bd8c9 100644 --- a/starttls.c +++ b/starttls.c @@ -134,12 +134,12 @@ tls_connect (hostname, service) int server, false = 0, family, socktype; struct sockaddr *addr; struct sockaddr_in sin; - socklen_t addrlen; + size_t addrlen; /* socklen_t addrlen */ #ifdef HAVE_ADDRINFO struct addrinfo *in, hints; #else struct hostent *host; - struct servent serv; + struct servent *serv; #endif proto = getprotobyname ("tcp"); -- 1.7.10.4