webdis icon indicating copy to clipboard operation
webdis copied to clipboard

PUT with one argument fails

Open kaytwo opened this issue 12 years ago • 0 comments

"PUT with the last argument in the body" doesn't match what the code does - it short circuits out based on slash count instead of command count on https://github.com/nicolasff/webdis/blob/master/cmd.c#L231

Pretty sure this could be fixed via changing that line to

    if(cmd->count==1) {

Let me know if you'd like a full pull request.

kaytwo avatar Mar 23 '13 04:03 kaytwo