Little optimization.
authordrepper <drepper>
Wed, 5 Nov 1997 23:19:18 +0000 (23:19 +0000)
committerdrepper <drepper>
Wed, 5 Nov 1997 23:19:18 +0000 (23:19 +0000)
nss/digits_dots.c

index dab64bf..29aa5b1 100644 (file)
                      goto done;
                    }
 
-                 strcpy (hostname, name);
-                 resbuf.h_name = hostname;
+                 resbuf.h_name = strcpy (hostname, name);
                  resbuf.h_aliases = *host_aliases;
                  (*host_aliases)[0] = NULL;
                  (*h_addr_ptrs)[0] = (char *) host_addr;