Skip to content

Commit

Permalink
Merge pull request #795 from ueokande/fix-segmentation-fault
Browse files Browse the repository at this point in the history
Fix segmentation fault on SASL failed
  • Loading branch information
eapache authored Dec 1, 2016
2 parents 4d11317 + a5a5787 commit 280cdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ func (b *Broker) sendAndReceiveSASLPlainHandshake() error {
return err
}
if res.Err != ErrNoError {
Logger.Printf("Invalid SASL Mechanism : %s\n", err.Error())
Logger.Printf("Invalid SASL Mechanism : %s\n", res.Err.Error())
return res.Err
}
Logger.Print("Successful SASL handshake")
Expand Down

0 comments on commit 280cdbd

Please sign in to comment.