diff options
Diffstat (limited to 'nexgb/xevie')
-rw-r--r-- | nexgb/xevie/xevie.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xevie/xevie.go b/nexgb/xevie/xevie.go index f77d405..7e18f8d 100644 --- a/nexgb/xevie/xevie.go +++ b/nexgb/xevie/xevie.go @@ -72,7 +72,7 @@ func (v Event) Bytes() []byte { b += 32 // padding - return buf + return buf[:b] } // EventListBytes writes a list of Event values to a byte slice. |