From 6eabda897c35cf9000a676df2ec23f910c83278d Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 24 Aug 2011 15:44:09 +0200 Subject: [PATCH] typo --- update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.go b/update.go index 535b95fc..cd47c72f 100644 --- a/update.go +++ b/update.go @@ -66,7 +66,7 @@ func (u *Update) NameNotUsed(rr []RR) { // "RRset exists (value dependent -- with rdata)" RRs. RFC 2136 section 2.4.2. func (u *Update) RRsetUsedFull(rr []RR) { if len(u.Msg.Question) == 0 { - panic("empty question section" + panic("empty question section") } u.Answer = make([]RR, len(rr)) for i, r := range rr { @@ -111,7 +111,7 @@ func (u *Update) RRsetNotUsed(rr []RR) { // RRsetAddFull adds an complete RRset, see RFC 2136 section 2.5.1 func (u *Update) RRsetAddFull(rr []RR) { if len(u.Msg.Question) == 0 { - panic("empty question section" + panic("empty question section") } u.Ns = make([]RR, len(rr)) for i, r := range rr {