Skip to content

Commit

Permalink
Merge pull request faiface#28 from christopher-dG/cdg/ctrl-err
Browse files Browse the repository at this point in the history
Fix Ctrl.Err stack overflow
  • Loading branch information
faiface authored Jul 26, 2018
2 parents fe13953 + b13b5ed commit 32585d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctrl.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ func (c *Ctrl) Err() error {
if c.Streamer == nil {
return nil
}
return c.Err()
return c.Streamer.Err()
}

0 comments on commit 32585d5

Please sign in to comment.