1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-30 14:06:50 +00:00

option end-close "did not apply" with some address types

This commit is contained in:
Gerhard Rieger 2009-03-31 23:22:06 +02:00
commit 4a42088332
6 changed files with 44 additions and 9 deletions

View file

@ -237,8 +237,8 @@ int xioopen_socket_connect(int argc, const char *argv[], struct opt *opts,
/*retropt_int(opts, OPT_IP_PROTOCOL, &proto);*/
xfd->howtoend = END_SHUTDOWN;
applyopts(-1, opts, PH_INIT);
if (applyopts_single(xfd, opts, PH_INIT) < 0) return -1;
applyopts(-1, opts, PH_INIT);
applyopts(-1, opts, PH_EARLY);
themlen = 0;