diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-11-04 14:15:55 +0100 |
---|---|---|
committer | Thomas Boerger <thomas@webhippie.de> | 2016-11-04 23:45:47 +0100 |
commit | 3dd14ee522edeac24cdb70be6354fd2c8ebfc47d (patch) | |
tree | 5aa1385df07334e28c4aa4406c8b19c59bbf76e2 | |
parent | ec054ba582d72c2c0cdd07404dc512da7d142031 (diff) | |
download | gitea-3dd14ee522edeac24cdb70be6354fd2c8ebfc47d.tar.gz gitea-3dd14ee522edeac24cdb70be6354fd2c8ebfc47d.zip |
Fixed "net.UnixAddr composite literal uses unkeyed fields"
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index ee9ee4d951..a43dae38f3 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -655,7 +655,7 @@ func runWeb(ctx *cli.Context) error { os.Remove(listenAddr) var listener *net.UnixListener - listener, err = net.ListenUnix("unix", &net.UnixAddr{listenAddr, "unix"}) + listener, err = net.ListenUnix("unix", &net.UnixAddr{Name: listenAddr, Net: "unix"}) if err != nil { break // Handle error after switch } |