optimize tcp and udp punch
This commit is contained in:
+1
-2
@@ -43,8 +43,7 @@ func update(host string, port int) {
|
||||
return
|
||||
}
|
||||
updateInfo := UpdateInfo{}
|
||||
err = json.Unmarshal(rspBuf, &updateInfo)
|
||||
if err != nil {
|
||||
if err = json.Unmarshal(rspBuf, &updateInfo); err != nil {
|
||||
gLog.Println(LvERROR, rspBuf, " update info decode error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user