From: Jaroslav Kysela Date: Fri, 19 Aug 2016 10:30:56 +0000 (+0200) Subject: tcp: fix compilation for latest tvhlog changes, fixes #3944 X-Git-Tag: v4.2.1~358 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c7eab4059f348bf4946dd676459a36ca220913d;p=thirdparty%2Ftvheadend.git tcp: fix compilation for latest tvhlog changes, fixes #3944 --- diff --git a/src/tcp.c b/src/tcp.c index f9d350593..fb4b274bb 100644 --- a/src/tcp.c +++ b/src/tcp.c @@ -836,7 +836,7 @@ void *tcp_server_create */ void * tcp_server_create - (const char *subsystem, const char *name, const char *bindaddr, + (int subsystem, const char *name, const char *bindaddr, int port, tcp_server_ops_t *ops, void *opaque) { int sd_fds_num, i, fd; @@ -895,7 +895,7 @@ tcp_server_create } else { /* no systemd-managed socket found, create a new one */ tvhinfo(LS_TCP, "No systemd socket: creating a new one"); - ts = tcp_server_create_new(subsystem, name, bindaddr, port, ops, opaque); + ts = tcp_server_create_new(subsystem, name, bindaddr, port, ops, opaque); } return ts;