Removes debug variables

This commit is contained in:
Manu Mtz-Almeida 2015-05-19 00:48:19 +02:00
parent cd6e95f0e4
commit eb568d1a0c

3
gin.go
View File

@ -180,8 +180,7 @@ func (engine *Engine) RunUnix(file string) (err error) {
defer func() { debugPrintError(err) }()
os.Remove(file)
listener, err2 := net.Listen("unix", file)
err = err2
listener, err := net.Listen("unix", file)
if err != nil {
return
}