aboutsummaryrefslogtreecommitdiff
path: root/src/libndb
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-01-27 17:50:46 +0000
committerrsc <devnull@localhost>2006-01-27 17:50:46 +0000
commitda20ccc71184af84784ddb15dc2a7c6829c5d84f (patch)
tree546d4c51ec421a6a4910b2e4d3932410bd7a65db /src/libndb
parent18d5a36a28e13cac153791c0461649478f902c6f (diff)
downloadplan9port-da20ccc71184af84784ddb15dc2a7c6829c5d84f.tar.gz
plan9port-da20ccc71184af84784ddb15dc2a7c6829c5d84f.tar.bz2
plan9port-da20ccc71184af84784ddb15dc2a7c6829c5d84f.zip
more constants
Diffstat (limited to 'src/libndb')
-rw-r--r--src/libndb/sysdnsquery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libndb/sysdnsquery.c b/src/libndb/sysdnsquery.c
index 7f8495f3..d50a8312 100644
--- 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;
}