From 538baf4819548f60e99a6cbc09983bcc8eb7baef Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Jul 1999 22:14:16 +0000 Subject: [PATCH] Revert last patch. --- nscd/nscd_gethst_r.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index 38bf35ad8e3..cb8f62e6963 100644 --- a/nscd/nscd_gethst_r.c +++ b/nscd/nscd_gethst_r.c @@ -214,12 +214,6 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type, + hst_resp.h_aliases_cnt * sizeof (size_t)); n = 2; - - /* These things must be aligned or ntohl will cause havoc */ - align = ((__alignof__ (char *) - (cp - ((char *) 0))) - & (__alignof__ (char *) - 1)); - cp += align; - if (type == GETHOSTBYADDR || type == GETHOSTBYNAME) { vec[2].iov_base = cp; -- 2.47.3