diff options
Diffstat (limited to 'send.go')
-rw-r--r-- | send.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ type QueueOutboundElement struct { func (device *Device) NewOutboundElement() *QueueOutboundElement { return &QueueOutboundElement{ dropped: AtomicFalse, - buffer: device.pool.messageBuffers.Get().(*[MaxMessageSize]byte), + buffer: device.GetMessageBuffer(), } } |