]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
http_send.c: Rename open_tcp_port() to http_open().
[paraslash.git] / http_send.c
index 0cab7420322e9a347119ee47210a702e88be0261..7c1ea344e0f96e4ca515b6f797d8384ee1145e65 100644 (file)
@@ -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");
 }