diff -r fc8702a8572e -r 52c100897e9d xmpp/status.go --- a/xmpp/status.go Wed Nov 06 20:38:03 2013 -0700 +++ b/xmpp/status.go Wed Nov 06 20:39:36 2013 -0700 @@ -42,7 +42,9 @@ StatusError Status = statusError ) -func (s Status) fatal() bool { +// Does the status value indicate that the client is or has +// disconnected? +func (s Status) Fatal() bool { switch s { default: return false @@ -135,7 +137,7 @@ if current == waitFor { return nil } - if current.fatal() { + if current.Fatal() { break } if current > waitFor {