No particular reason, mostly style compared to other function that deal
with section the packet.
On 9 Feb 2014 17:19, "Marek" <notifications@github.com> wrote:

> In msg.go:
>
> > @@ -1526,44 +1526,55 @@ func (dns *Msg) Len() int {
> >  	}
> >
> >  	for i := 0; i < len(dns.Question); i++ {
> > -		l += dns.Question[i].len()
> > +		f := dns.Question[i]
>
> as a matter of fact f could be assigned in the loop if we used i, f :=
> range dns.Questions. Is there a reason why you dislike range?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/miekg/dns/pull/81/files#r9569339>
> .
>