about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--inet/getnameinfo.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7305b282e6..18fc81f245 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
+
+	* inet/getnameinfo.c (nrl_domainname): Fix last patch.
+
 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 	* nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index b69bdbe57d..28713e1f85 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -69,12 +69,12 @@ nrl_domainname (void)
   static char *domain;
   static int not_first;
 
-  if (not_first)
+  if (! not_first)
     {
       __libc_lock_define_initialized (static, lock);
       __libc_lock_lock (lock);
 
-      if (not_first)
+      if (! not_first)
 	{
 	  char *c;
 	  struct hostent *h, th;