瀏覽代碼

typo in comment

Abhishek Kondur 2 年之前
父節點
當前提交
a9d1df6022
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mq/handlers.go

+ 1 - 1
mq/handlers.go

@@ -170,7 +170,7 @@ func UpdateHost(client mqtt.Client, msg mqtt.Message) {
 	}(msg)
 }
 
-// used for updating host on sever with update recieved from client
+// used for updating host on server with update recieved from client
 func updateHostFromClient(newHost, currHost *models.Host) (sendPeerUpdate bool) {
 
 	if newHost.ListenPort != 0 && currHost.ListenPort != newHost.ListenPort {