diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-12 19:11:30 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-12 19:11:30 +0100 |
commit | 34836ab2c9124e17d80bd8e8a1601398297391a8 (patch) | |
tree | 3079a0db3bc95c105c04b7730ef0d4c2c4af29c4 /sockets.c | |
parent | 62fe87f6052dc28e38f2edc940b2002ede087277 (diff) |
Make client port configurable and move settings structure to be initialised in main() instead of dochat().
Diffstat (limited to 'sockets.c')
-rw-r--r-- | sockets.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |