diff --git a/conn.go b/conn.go index 03745ee..f43feb9 100644 --- a/conn.go +++ b/conn.go @@ -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