mirror of
https://repo.or.cz/socat.git
synced 2025-07-10 06:06:33 +00:00
Corrections for better 32bit systems support, and some minor fixes
This commit is contained in:
parent
de1ed21026
commit
c9ff62744f
15 changed files with 79 additions and 50 deletions
|
@ -735,10 +735,10 @@ int xioopen_single(xiofile_t *xfd, int xioflags) {
|
|||
return -1;
|
||||
#endif /* WITH_NAMESPACES */
|
||||
|
||||
#if HAVE_RESOLV_H
|
||||
#if WITH_RESOLVE && HAVE_RESOLV_H
|
||||
if ((do_res = xio_res_init(sfd, &save_res)) < 0)
|
||||
return STAT_NORETRY;
|
||||
#endif /* HAVE_RESOLV_H */
|
||||
#endif /* WITH_RESOLVE && HAVE_RESOLV_H */
|
||||
|
||||
if (xio_chdir(sfd->opts, &orig_dir) < 0)
|
||||
return STAT_NORETRY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue