diff --git a/response.go b/response.go index 81d97d9b..1cb6c37e 100644 --- a/response.go +++ b/response.go @@ -60,10 +60,6 @@ func (r *searchResponse) Next() bool { if r.err != nil { return false } - r.err = r.conn.GetLastError() - if r.err != nil { - return false - } r.entry = res.Entry r.referral = res.Referral r.controls = res.Controls diff --git a/v3/response.go b/v3/response.go index 81d97d9b..1cb6c37e 100644 --- a/v3/response.go +++ b/v3/response.go @@ -60,10 +60,6 @@ func (r *searchResponse) Next() bool { if r.err != nil { return false } - r.err = r.conn.GetLastError() - if r.err != nil { - return false - } r.entry = res.Entry r.referral = res.Referral r.controls = res.Controls