Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tcp: fix compilation for latest tvhlog changes, fixes #3944
  • Loading branch information
perexg committed Aug 19, 2016
1 parent f864d62 commit 1c7eab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tcp.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1c7eab4

Please sign in to comment.