arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 127 forks source link

Naive fix to binary_incr_decr #45

Closed miv closed 13 years ago

miv commented 13 years ago

It's my first code in c in ages and it's pretty naive. I hope it not a bother to recheck it, and propably dump it :) I think it's missing check if there is a need to use prefix key (strlen(ptr->prefix_key) != 0 {do }), but i don't know how to write it efficiently. Thank you for wonderful lib :)

bitbckt commented 13 years ago

Works for me. Merged.