/[svn]/ircd-hybrid-7.2/src/irc_res.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/irc_res.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 410 by michael, Fri Oct 21 09:37:16 2005 UTC revision 411 by adx, Wed Feb 8 14:42:01 2006 UTC
# Line 762  proc_answer(struct reslist *request, HEA Line 762  proc_answer(struct reslist *request, HEA
762  static void  static void
763  res_readreply(fde_t *fd, void *data)  res_readreply(fde_t *fd, void *data)
764  {  {
765    char buf[sizeof(HEADER) + MAXPACKET];    char buf[sizeof(HEADER) + MAXPACKET]
766            /* Sparc and alpha need 16bit-alignment for accessing header->id
767             * (which is uint16_t). Because of the header = (HEADER*) buf;
768             * lateron, this is neeeded. --FaUl
769             */
770    #if defined(__sparc__) || defined(__alpha__)  
771              __attribute__((aligned (16)))
772    #endif
773              ;
774    HEADER *header;    HEADER *header;
775    struct reslist *request = NULL;    struct reslist *request = NULL;
776    struct DNSReply *reply  = NULL;    struct DNSReply *reply  = NULL;

Legend:
Removed from v.410  
changed lines
  Added in v.411

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26