浏览代码

fix to roaming feature

afeiszli 4 年之前
父节点
当前提交
67157f4bdc
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      netclient/functions/common.go

+ 0 - 1
netclient/functions/common.go

@@ -558,7 +558,6 @@ func getPublicAddr() (string, error) {
 		endpoint := ""
 		if resp.StatusCode == http.StatusOK {
                         bodyBytes, err := ioutil.ReadAll(resp.Body)
-                        _, err := ioutil.ReadAll(resp.Body)
 			if err != nil {
 				return "", err
 			}