From 0f0a4dcf20f8db20ebbc79b12c75fb865032222d Mon Sep 17 00:00:00 2001
From: cuinix <915115094@qq.com>
Date: Wed, 6 Mar 2024 15:49:06 +0800
Subject: [PATCH] fix function name in comment

Signed-off-by: cuinix <915115094@qq.com>
---
 client/control.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/control.go b/client/control.go
index b272ee06..f67c87a3 100644
--- a/client/control.go
+++ b/client/control.go
@@ -232,7 +232,7 @@ func (ctl *Control) registerMsgHandlers() {
 	ctl.msgDispatcher.RegisterHandler(&msg.Pong{}, ctl.handlePong)
 }
 
-// headerWorker sends heartbeat to server and check heartbeat timeout.
+// heartbeatWorker sends heartbeat to server and check heartbeat timeout.
 func (ctl *Control) heartbeatWorker() {
 	xl := ctl.xl