1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/irc/bitchx/files/patch-al
2000-12-12 08:07:56 +00:00

24 lines
476 B
Plaintext

*** source/misc.c~ Fri Sep 1 23:08:52 2000
--- source/misc.c Fri Dec 8 10:52:56 2000
***************
*** 2641,2646 ****
--- 2641,2648 ----
switch(type)
{
case T_A :
+ if (dlen != sizeof(struct in_addr))
+ return 0;
rptr->re_he.h_length = dlen;
if (ans == 1)
rptr->re_he.h_addrtype=(class == C_IN) ?
***************
*** 2687,2692 ****
--- 2689,2695 ----
*alias = NULL;
break;
default :
+ cp += dlen;
break;
}
}