2004-06-09 Daiki Ueno <ueno@unixuser.org>
+ * starttls.c (tcp_connect): Renamed from socket_connect.
+
+2004-06-09 Daiki Ueno <ueno@unixuser.org>
+
* Makefile.am (starttls_SOURCES): Add gnutls.c if USE_GNUTLS
conditional is asserted.
* starttls.c (socket_connect): Renamed from tls_connect.
}
int
-socket_connect (hostname, service)
+tcp_connect (hostname, service)
const char *hostname, *service;
{
int server, false = 0;
return 1;
}
- tls_fd = socket_connect (argv[optind], argv[optind+1]);
+ tls_fd = tcp_connect (argv[optind], argv[optind+1]);
if (tls_fd < 0)
{
- perror ("socket_connect");
+ perror ("tcp_connect");
return 1;
}