gosexy / redis

Redis client for Go that maps the full redis command list into equivalent Go functions.
MIT License
167 stars 44 forks source link

Issue #8 ?bug? #9

Closed forrestsun closed 11 years ago

forrestsun commented 11 years ago

you closed Issue #8 but you modify one line args[2+i] = to.Bytes(fields[i])

you not change args := make([][]byte, len(fields)+2)

you code: args := make([][]byte, len(fields)+1) ? right

xiam commented 11 years ago

You're right, I forgot to allocate space for the missing argument, now fixed :-). Thanks again!

forrestsun commented 11 years ago

close #8