diff --git a/client.go b/client.go index 1fdb410..f3f556a 100644 --- a/client.go +++ b/client.go @@ -253,10 +253,10 @@ func (s *Client) call(cmd string, msgpars []string, onData FnCallback, extraHead default: if cmd != PING { err = errors.New("Message parameters wrong size") + return } else { msgpars = []string{""} } - return } if cmd == REPORT_IGNOREWARNING {