Skip to content

Commit 3c79a97

Browse files
committed
Merge pull request #2 from remicollet/patch-3
Fix build with msgpack
2 parents 4187e22 + 650b67c commit 3c79a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_memcached.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3119,7 +3119,7 @@ zend_bool s_serialize_value (enum memcached_serializer serializer, zval *value,
31193119
#ifdef HAVE_MEMCACHED_MSGPACK
31203120
case SERIALIZER_MSGPACK:
31213121
php_msgpack_serialize(buf, value);
3122-
if (!buf->c) {
3122+
if (!buf->s) {
31233123
php_error_docref(NULL, E_WARNING, "could not serialize value with msgpack");
31243124
return 0;
31253125
}

0 commit comments

Comments
 (0)