summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-11-07 14:30:35 +0100
committerMichael Adam <obnox@samba.org>2013-11-09 13:34:33 +0100
commit070d6215340379cbea7cc404ff4bb450a0ddea8b (patch)
treeb333b60740f99b92c4faffb06a23421eb61d1233 /src/main.c
parent2bd919f01e8303aa1efdf39af89132a6ab9388cb (diff)
downloadtinyproxy-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index abb047d..99ab664 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);