* net.cc (inet_makeaddr): Revert previous change.

This commit is contained in:
Christopher Faylor 2001-11-24 17:31:15 +00:00
parent 4e5289d848
commit 53a12585ac
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-11-24 Christopher Faylor <cgf@redhat.com>
* net.cc (inet_makeaddr): Revert previous change.
2001-11-23 Christopher Faylor <cgf@redhat.com>
* path.cc (chdir): Allow 'cd /cygdrive'.

View File

@ -268,7 +268,7 @@ extern "C" struct in_addr
inet_makeaddr (int net, int lna)
{
unsigned long i;
static struct in_addr in; /* Note -- not thread safe! */
struct in_addr in;
if (net < IN_CLASSA_MAX)
i = (net << IN_CLASSA_NSHIFT) | (lna & IN_CLASSA_HOST);