From: Ulrich Drepper Date: Fri, 9 Jul 1999 22:14:16 +0000 (+0000) Subject: Revert last patch. X-Git-Tag: cvs/glibc_2-1-2~292 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=538baf4819548f60e99a6cbc09983bcc8eb7baef;p=thirdparty%2Fglibc.git Revert last patch. --- 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;