Skip to content

Commit

Permalink
conn.go: Fixed missing return.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandertv committed Apr 7, 2024
1 parent 58ca659 commit 3f5d72f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ func (conn *Conn) receive(b *bytes.Buffer) error {
case headerFlags&bitFlagDatagram != 0:
return conn.receiveDatagram(b)
}
return nil
}

// receiveDatagram handles the receiving of a datagram found in buffer b. If
Expand Down

0 comments on commit 3f5d72f

Please sign in to comment.