}
}
-static int open_tcp_port(int port)
+static int http_open(int port)
{
int ret;
{
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)
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");
}