Prevent looking for thread data key if we found one.
authordrepper <drepper>
Fri, 11 Jul 1997 01:01:16 +0000 (01:01 +0000)
committerdrepper <drepper>
Fri, 11 Jul 1997 01:01:16 +0000 (01:01 +0000)
inet/inet_ntoa.c

index 3e9636c..9e4b2af 100644 (file)
@@ -57,6 +57,9 @@ inet_ntoa (struct in_addr in)
               really went wrong.  In any case use a static buffer
               which is better than nothing.  */
            buffer = static_buf;
               really went wrong.  In any case use a static buffer
               which is better than nothing.  */
            buffer = static_buf;
+         else
+           /* We have a key.  */
+           initialized = 1;
        }
 
       __libc_lock_unlock (lock);
        }
 
       __libc_lock_unlock (lock);