summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-29 12:41:52 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-29 12:41:52 +0000
commit3a07823a8b4ae8b647a4fc75a07c6c73aae9b8f5 (patch)
tree52e2a19775a483588fdf9b8e00939707d65fe308
parent16b0f634a020651c15a7e7fec08e57b9d31783fe (diff)
downloadglibc-3a07823a8b4ae8b647a4fc75a07c6c73aae9b8f5.tar.gz
glibc-3a07823a8b4ae8b647a4fc75a07c6c73aae9b8f5.tar.xz
glibc-3a07823a8b4ae8b647a4fc75a07c6c73aae9b8f5.zip
Update.
1999-04-29  Ulrich Drepper  <drepper@cygnus.com>

	* inet/getnameinfo.c (nrl_domainname): Fix last patch.
-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;