From: ueno Date: Wed, 9 Jun 2004 10:15:35 +0000 (+0000) Subject: * starttls.c (tcp_connect): Renamed from socket_connect. X-Git-Tag: starttls-0_11-branchpoint~4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283a406693eb925f89a3e24ab3c22c928c3b9599;p=elisp%2Fstarttls.git * starttls.c (tcp_connect): Renamed from socket_connect. --- diff --git a/ChangeLog b/ChangeLog index bbbd974..b9f2d76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-06-09 Daiki Ueno + * starttls.c (tcp_connect): Renamed from socket_connect. + +2004-06-09 Daiki Ueno + * Makefile.am (starttls_SOURCES): Add gnutls.c if USE_GNUTLS conditional is asserted. * starttls.c (socket_connect): Renamed from tls_connect. diff --git a/starttls.c b/starttls.c index 2cf7ced..7343396 100644 --- a/starttls.c +++ b/starttls.c @@ -81,7 +81,7 @@ do_tls_negotiate(sig) } int -socket_connect (hostname, service) +tcp_connect (hostname, service) const char *hostname, *service; { int server, false = 0; @@ -194,10 +194,10 @@ main (argc, argv) 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; }