From: ueno Date: Wed, 23 Jan 2002 00:48:53 +0000 (+0000) Subject: * starttls.c (tls_connect): Replace socklen_t with size_t to X-Git-Tag: starttls-0_9~7 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=365f2725c13fad02f60bc7d32b1b2216f95ff3b7;p=elisp%2Fstarttls.git * starttls.c (tls_connect): Replace socklen_t with size_t to compile on Solaris 2.6, and also fix typo. --- 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");