From 22942910d5cf0b5c05bf66bea99890880901ba57 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 17 Jan 2008 19:07:19 +0100 Subject: [PATCH] http_send.c: Rename open_tcp_port() to http_open(). --- http_send.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/http_send.c b/http_send.c index 0cab7420..7c1ea344 100644 --- a/http_send.c +++ b/http_send.c @@ -307,7 +307,7 @@ static void http_pre_select(int *max_fileno, fd_set *rfds, fd_set *wfds) } } -static int open_tcp_port(int port) +static int http_open(int port) { int ret; @@ -331,7 +331,7 @@ static int http_com_on(__a_unused struct sender_command_data *scd) { if (self->status == SENDER_ON) return 1; - return open_tcp_port(conf.http_port_arg); + return http_open(conf.http_port_arg); } static int http_com_off(__a_unused struct sender_command_data *scd) @@ -431,6 +431,6 @@ void http_send_init(struct sender *s) self = s; acl_init(&http_acl, conf.http_access_arg, conf.http_access_given); if (!conf.http_no_autostart_given) - open_tcp_port(conf.http_port_arg); /* ignore errors */ + http_open(conf.http_port_arg); /* ignore errors */ PARA_DEBUG_LOG("%s", "http sender init complete\n"); } -- 2.39.2