From 283a406693eb925f89a3e24ab3c22c928c3b9599 Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 9 Jun 2004 10:15:35 +0000 Subject: [PATCH] * starttls.c (tcp_connect): Renamed from socket_connect. --- ChangeLog | 4 ++++ starttls.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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; } -- 1.7.10.4