From 34836ab2c9124e17d80bd8e8a1601398297391a8 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 12 May 2019 19:11:30 +0100 Subject: Make client port configurable and move settings structure to be initialised in main() instead of dochat(). --- sockets.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sockets.c') diff --git a/sockets.c b/sockets.c index 142be21..fd733b8 100644 --- a/sockets.c +++ b/sockets.c @@ -56,8 +56,6 @@ int createserversocket(char *host, char *port) { // Create listening socket to listen for bouncer client connections int createclientsocket(char *listenport) { - listenport = BOUNCERLISTENPORT; - int listener; // listening socket descriptor int rv; // return value for getaddrinfo (for error message) struct addrinfo hints, *ai, *p; -- cgit v1.2.3