aboutsummaryrefslogtreecommitdiff
path: root/udppacket.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-11-30 15:26:05 +0700
committerShulhan <ms@kilabit.info>2018-11-30 15:26:05 +0700
commit34ae901ff30a32d9aef33bfe25561ff2f685cb0c (patch)
tree3e3c8dd94965b0f26d1fa21eebeeabfa9d0a7fef /udppacket.go
parentc61d03ab8d355ac7d14ee86e29599e67fb2c5a66 (diff)
downloadhaminer-34ae901ff30a32d9aef33bfe25561ff2f685cb0c.tar.xz
all: fix warning from linter
Diffstat (limited to 'udppacket.go')
-rw-r--r--udppacket.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/udppacket.go b/udppacket.go
index c7b017b..8cecfb0 100644
--- a/udppacket.go
+++ b/udppacket.go
@@ -30,8 +30,8 @@ func NewUDPPacket(size uint32) (p *UDPPacket) {
}
//
-// Reset will set the content of packet data to zero, so it can be used agains
-// on Read().
+// Reset will set the content of packet data to zero, so it can be used
+// against on Read().
//
func (p *UDPPacket) Reset() {
p.Bytes[0] = 0