1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/security/sfs/files/patch-async_dnsparse.C
Kirill Ponomarev 79619ba2cd Fix build on 6.x
Approved by:	portmgr (self)
2005-08-24 09:42:39 +00:00

15 lines
333 B
C

$FreeBSD$
--- async/dnsparse.C.orig
+++ async/dnsparse.C
@@ -323,7 +323,7 @@
n_chars += strlen (name) + 1;
ref <mxlist> mxl = refcounted<mxlist, vsize>::alloc
- (offsetof (mxlist, m_mxes[nmx]) + n_chars);
+ (offsetof (mxlist, m_mxes) + n_chars);
mxrec *mxrecs = mxl->m_mxes;
char *np = (char *) &mxrecs[nmx];