fix length computation in dn_expand
authorRich Felker <dalias@aerifal.cx>
Wed, 14 Aug 2013 22:18:46 +0000 (18:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 14 Aug 2013 22:18:46 +0000 (18:18 -0400)
commit56b57f37a46dab432247bf29d96fcb11fbd02a6d
treefe514e3154989d30e95e1f271e5b9615fc242ecd
parentfcc522c92335783293ac19df318415cd97fbf66b
fix length computation in dn_expand

there are two possible points where the length is evaluated: either
the first 'compression' jump, or the null terminator if no jumps have
taken place yet. the previous code only measured the length of the
first component.
src/network/dn_expand.c