cvs: pecl /memcache memcache.c

From: Date: Mon, 23 Aug 2004 15:54:13 +0000
Subject: cvs: pecl /memcache memcache.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-1708@lists.php.net to get a copy of this message
tony2001 Mon Aug 23 11:54:13 2004 EDT Modified files: /pecl/memcache memcache.c Log: fix bug #2167 (thanks to pbnadeau at gmail dot com for noticing, testing and patching) http://cvs.php.net/diff.php/pecl/memcache/memcache.c?r1=1.21&r2=1.22&ty=u Index: pecl/memcache/memcache.c diff -u pecl/memcache/memcache.c:1.21 pecl/memcache/memcache.c:1.22 --- pecl/memcache/memcache.c:1.21 Thu Aug 5 04:16:30 2004 +++ pecl/memcache/memcache.c Mon Aug 23 11:54:13 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: memcache.c,v 1.21 2004/08/05 08:16:30 tony2001 Exp $ */ +/* $Id: memcache.c,v 1.22 2004/08/23 15:54:13 tony2001 Exp $ */ /* TODO * - we should probably do a cleanup if some call failed, @@ -230,7 +230,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "memcache support", "enabled"); php_info_print_table_row(2, "Active persistent connections", buf); - php_info_print_table_row(2, "Revision", "$Revision: 1.21 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.22 $"); php_info_print_table_end(); } /* }}} */ @@ -1381,7 +1381,7 @@ RETURN_STRINGL(result_data, result_len, 0); } } - else if (flags == MMC_SERIALIZED) { + else if (flags & MMC_SERIALIZED) { tmp = data; PHP_VAR_UNSERIALIZE_INIT(var_hash); if (!php_var_unserialize(&return_value, &tmp, tmp + data_len, &var_hash TSRMLS_CC)) {

« previous php.pecl.cvs (#1708) next »