diff options
author | Michael Adam <obnox@samba.org> | 2013-11-07 14:30:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-09 13:34:33 +0100 |
commit | 070d6215340379cbea7cc404ff4bb450a0ddea8b (patch) | |
tree | b333b60740f99b92c4faffb06a23421eb61d1233 /src/main.c | |
parent | 2bd919f01e8303aa1efdf39af89132a6ab9388cb (diff) | |
download | tinyproxy-070d6215340379cbea7cc404ff4bb450a0ddea8b.tar.gz tinyproxy-070d6215340379cbea7cc404ff4bb450a0ddea8b.zip |
child: add addr argument to child_listening_sock().
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -430,7 +430,7 @@ main (int argc, char **argv) #endif /* FILTER_ENABLE */ /* Start listening on the selected port. */ - if (child_listening_sock (config.port) < 0) { + if (child_listening_sock (config.ipAddr, config.port) < 0) { fprintf (stderr, "%s: Could not create listening socket.\n", argv[0]); exit (EX_OSERR); |