From 187449b8cb68e3fc69128715aea45c885d5f0165 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Mon, 26 Oct 2020 09:26:21 +0100 Subject: [PATCH] Fix unneeded error reporting --- controlstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlstream.go b/controlstream.go index cbb13bf..98c2d0f 100644 --- a/controlstream.go +++ b/controlstream.go @@ -296,7 +296,7 @@ func (s *controlStream) init() error { copy(s.authID[:], r[26:32]) s.gotAuthID = true if err := s.sendPktAuth(0x02); err != nil { - reportError(err) + return err } log.Debug("login ok, first auth sent...")