summaryrefslogtreecommitdiffhomepage
path: root/device/receive.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/receive.go')
-rw-r--r--device/receive.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/device/receive.go b/device/receive.go
index fa5c0a6..3aa4458 100644
--- a/device/receive.go
+++ b/device/receive.go
@@ -104,6 +104,7 @@ func (device *Device) RoutineReceiveIncoming(recv conn.ReceiveFunc) {
if deathSpiral < 10 {
deathSpiral++
time.Sleep(time.Second / 3)
+ buffer = device.GetMessageBuffer()
continue
}
return