summaryrefslogtreecommitdiff
path: root/src/base/downServer.c
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2010-06-09 19:48:59 +0200
committerMichal Zima <xhire@mujmalysvet.cz>2010-06-09 19:48:59 +0200
commit9c16a77c3ea9bc850eaf31a4732ac20f77954643 (patch)
tree218fc846a8a025ff48b31d42f33629af05f7674f /src/base/downServer.c
parent37dd8c8b480cb7752df464051e7d1ce350f59d49 (diff)
Consolidated IPv4 and IPv6 ports to one shared
When running GS on [::], only IPv6 server will be started
Diffstat (limited to 'src/base/downServer.c')
-rw-r--r--src/base/downServer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/downServer.c b/src/base/downServer.c
index 5556fc6..a5ab58a 100644
--- a/src/base/downServer.c
+++ b/src/base/downServer.c
@@ -118,9 +118,9 @@ static void destroyClient(client_ds_t *client)
free(client);
}
-int down_server_init(char *ip4, int port4)
+int down_server_init(char *ip, int port)
{
- sock_server_tcp = sock_tcp_bind(ip4, port4);
+ sock_server_tcp = sock_tcp_bind(ip, port);
if (sock_server_tcp == NULL) {
error("Unable to initialize download server");