Explorar el Código

Without that thing, go 1.3.3 says 'unexpected range'.

Mathieu Lecarme hace 11 años
padre
commit
3f4f521004
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      redisx/connmux.go

+ 1 - 1
redisx/connmux.go

@@ -134,7 +134,7 @@ func (c *muxConn) Close() error {
 		return nil
 	}
 	c.Flush()
-	for range c.ids {
+	for _ = range c.ids {
 		_, err = c.Receive()
 	}
 	return err