From: Andre Noll Date: Thu, 17 Jan 2008 18:07:19 +0000 (+0100) Subject: http_send.c: Rename open_tcp_port() to http_open(). X-Git-Tag: v0.3.1~92 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=22942910d5cf0b5c05bf66bea99890880901ba57;p=paraslash.git http_send.c: Rename open_tcp_port() to http_open(). --- 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"); }