Permalink
Browse files

Merge pull request #68 from giac/patch-1

Fixed compatibility with libmemcached 1.0.8
  • Loading branch information...
2 parents 64d2ca7 + 80cb214 commit 3685a5cdc3cc28940d57089e190e3f94f42043b5 @andreiz andreiz committed Apr 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 php_memcached.c
View
@@ -2730,7 +2730,7 @@ static memcached_return php_memc_do_version_callback(const memcached_st *ptr, me
struct callbackContext* context = (struct callbackContext*) in_context;
hostport_len = spprintf(&hostport, 0, "%s:%d", memcached_server_name(instance), memcached_server_port(instance));
-#if defined(LIBMEMCACHED_VERSION_HEX) && LIBMEMCACHED_VERSION_HEX >= 0x01000008
+#if defined(LIBMEMCACHED_VERSION_HEX) && LIBMEMCACHED_VERSION_HEX >= 0x01000009
version_len = snprintf(version, sizeof(version), "%d.%d.%d",
memcached_server_major_version(instance),
memcached_server_minor_version(instance),

0 comments on commit 3685a5c

Please sign in to comment.