tmore constants - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit da20ccc71184af84784ddb15dc2a7c6829c5d84f
(DIR) parent 18d5a36a28e13cac153791c0461649478f902c6f
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 27 Jan 2006 17:50:46 +0000
more constants
Diffstat:
M src/libndb/sysdnsquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libndb/sysdnsquery.c b/src/libndb/sysdnsquery.c
t@@ -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;
}