X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_send.c;h=7c1ea344e0f96e4ca515b6f797d8384ee1145e65;hp=0cab7420322e9a347119ee47210a702e88be0261;hb=33fe4df2e6e28ea5972ccbfc15e6131e919ab177;hpb=d1f8e90ef5f123b11c58a143e8a786d9623ac4d7 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"); }