Browse Source

fix xcache_isset reported by http://forum.lighttpd.net/topic/1397

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@126 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
f9d9181c4f
  1. 2
      xcache.c

2
xcache.c

@ -1621,7 +1621,7 @@ PHP_FUNCTION(xcache_isset)
ENTER_LOCK(xce.cache) {
stored_xce = xc_entry_find_dmz(&xce TSRMLS_CC);
if (stored_xce) {
if (VAR_ENTRY_EXPIRED(stored_xce)) {
if (!VAR_ENTRY_EXPIRED(stored_xce)) {
RETVAL_TRUE;
/* return */
break;

Loading…
Cancel
Save