Skip to content

Commit

Permalink
chore(typo): trivial typo
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Hindess <mark.hindess@gmail.com>
  • Loading branch information
hindessm committed Jul 29, 2023
1 parent e18c6cf commit b678d34
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 @@ -943,7 +943,7 @@ func (b *Broker) write(buf []byte) (n int, err error) {
return b.conn.Write(buf)
}

// b.lock must be haled by caller
// b.lock must be held by caller
func (b *Broker) send(rb protocolBody, promiseResponse bool, responseHeaderVersion int16) (*responsePromise, error) {
var promise *responsePromise
if promiseResponse {
Expand Down

0 comments on commit b678d34

Please sign in to comment.