Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nowelium/469041 to your computer and use it in GitHub Desktop.
Save nowelium/469041 to your computer and use it in GitHub Desktop.
--- libmemcached-0.42/libmemcached/storage.c 2010-07-09 12:33:49.000000000 +0900
+++ libmemcached-0.40/libmemcached/storage.c 2010-07-09 12:38:30.000000000 +0900
@@ -105,7 +105,7 @@
if (cas)
{
write_length= (size_t) snprintf(buffer, MEMCACHED_DEFAULT_COMMAND_SIZE,
- "%s %.*s%.*s %u %llu %zu %llu%s\r\n",
+ "%s%.*s%.*s %u %llu %zu %llu%s\r\n",
storage_op_string(verb),
(int)ptr->prefix_key_length,
ptr->prefix_key,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment