plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit da20ccc71184af84784ddb15dc2a7c6829c5d84f
parent 18d5a36a28e13cac153791c0461649478f902c6f
Author: rsc <devnull@localhost>
Date:   Fri, 27 Jan 2006 17:50:46 +0000

more constants

Diffstat:
Msrc/libndb/sysdnsquery.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libndb/sysdnsquery.c b/src/libndb/sysdnsquery.c @@ -246,7 +246,7 @@ skipquestion(uchar *buf, uchar *ebuf, uchar *p, int n) for(i=0; i<n; i++){ if((len = dn_expand(buf, ebuf, p, tmp, sizeof tmp)) <= 0) return nil; - p += NS_QFIXEDSZ+len; + p += 4+len; } return p; }