fix unprintable character

This commit is contained in:
holys 2014-07-17 02:18:53 +08:00
parent 633ced379c
commit 78ac5c9842
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func printReply(cmd string, reply interface{}) {
case string:
fmt.Printf("%s", reply)
case []byte:
fmt.Printf("%s", string(reply))
fmt.Printf("%q", reply)
case nil:
fmt.Printf("(nil)")
case ledis.Error: