mirror of https://github.com/tidwall/redcon.git
copy fix
This commit is contained in:
parent
88057ab8af
commit
0ec132aed9
|
@ -271,7 +271,7 @@ func handle(
|
||||||
for i := 0; i < len(cmds); i++ {
|
for i := 0; i < len(cmds); i++ {
|
||||||
scmds[i] = make([]string, len(cmds[i]))
|
scmds[i] = make([]string, len(cmds[i]))
|
||||||
for j := 0; j < len(scmds[i]); j++ {
|
for j := 0; j < len(scmds[i]); j++ {
|
||||||
scmds[i][j] = string(scmds[i][j])
|
scmds[i][j] = string(cmds[i][j])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
shandler(c, scmds)
|
shandler(c, scmds)
|
||||||
|
|
Loading…
Reference in New Issue