Browse Source

typo in comment

Abhishek Kondur 2 years ago
parent
commit
a9d1df6022
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mq/handlers.go

+ 1 - 1
mq/handlers.go

@@ -170,7 +170,7 @@ func UpdateHost(client mqtt.Client, msg mqtt.Message) {
 	}(msg)
 	}(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) {
 func updateHostFromClient(newHost, currHost *models.Host) (sendPeerUpdate bool) {
 
 
 	if newHost.ListenPort != 0 && currHost.ListenPort != newHost.ListenPort {
 	if newHost.ListenPort != 0 && currHost.ListenPort != newHost.ListenPort {