Parcourir la source

typo in comment

Abhishek Kondur il y a 2 ans
Parent
commit
a9d1df6022
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {