aboutsummaryrefslogtreecommitdiff
path: root/inet/inet_ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/inet_ntoa.c')
-rw-r--r--inet/inet_ntoa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/inet/inet_ntoa.c b/inet/inet_ntoa.c
index 3e9636c..9e4b2af 100644
--- a/inet/inet_ntoa.c
+++ b/inet/inet_ntoa.c
@@ -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;
+ else
+ /* We have a key. */
+ initialized = 1;
}
__libc_lock_unlock (lock);