瀏覽代碼

Formatting with gofmt

jarlebring 10 年之前
父節點
當前提交
d9da02b7a8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/upnp/upnp.go

+ 1 - 1
internal/upnp/upnp.go

@@ -454,7 +454,7 @@ func soapRequest(url, service, function, message string) ([]byte, error) {
 	}
 	req.Header.Set("Content-Type", `text/xml; charset="utf-8"`)
 	req.Header.Set("User-Agent", "syncthing/1.0")
-	req.Header["SOAPAction"]=[]string{fmt.Sprintf(`"%s#%s"`, service, function)}  // Enforce capitalization in header-entry for sensitive routers. See issue #1696
+	req.Header["SOAPAction"] = []string{fmt.Sprintf(`"%s#%s"`, service, function)} // Enforce capitalization in header-entry for sensitive routers. See issue #1696
 	req.Header.Set("Connection", "Close")
 	req.Header.Set("Cache-Control", "no-cache")
 	req.Header.Set("Pragma", "no-cache")