diff options
author | Michael Adam <obnox@samba.org> | 2013-11-08 13:19:32 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-09 13:34:33 +0100 |
commit | fa26ad4d566f2c3a34f1c6e7158a9268267f2582 (patch) | |
tree | bcca16f21fc3c100f206dd228e3d1e28f0b6564e /src/main.c | |
parent | 2ebfd456eff002cfba45aa88dad4b2a0cb9edc1a (diff) | |
download | tinyproxy-fa26ad4d566f2c3a34f1c6e7158a9268267f2582.tar.gz tinyproxy-fa26ad4d566f2c3a34f1c6e7158a9268267f2582.zip |
sock: move listen() into the getaddrinfo result loop in listen_sock()
This also reverses the exit logic of the loop.
It prepares listening on multiple addresses.
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions