[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev DOS builds of pre.6
From: |
Wayne Buttles |
Subject: |
Re: lynx-dev DOS builds of pre.6 |
Date: |
Sun, 4 Oct 1998 12:55:48 -0400 (EDT) |
On Sun, 4 Oct 1998 address@hidden wrote:
> > My win32 problem was as simple as the value not being memcpy'd into the
> > soc_in structure. I just figured it out though so now I need to thread
> > through why. My brain is molasses though...
> ok - then we'll see a patch soon, I hope. (That will leave the NSL_FORK
> problems that Bela's looking into).
Well, the following gets me lookups, but I am not sure it is "the right
thing to do."
*** HTTCP.org Sun Oct 4 12:38:14 1998
--- HTTCP.c Sun Oct 4 12:06:02 1998
***************
*** 646,651 ****
--- 646,653 ----
#endif /* !NSL_FORK */
#ifndef _WINDOWS_NSL
FREE(host);
+ #else
+ memcpy((void *)&soc_in->sin_addr, phost->h_addr, phost->h_length);
#endif /* _WINDOWS_NSL */
}
>
> --
> Thomas E. Dickey
> address@hidden
> http://www.clark.net/pub/dickey
>