Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a bug introduced in prior commit designed to reduce mallocs

  • Loading branch information...
commit cd16d7576b75d5bc7eb323d837327cc745c914c8 1 parent d6a43cd
@iliaal iliaal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  php_memcached.c
View
2  php_memcached.c
@@ -2619,7 +2619,7 @@ static char *php_memc_zval_to_payload(zval *value, size_t *payload_len, uint32_t
}
/* turn off compression for values below the threshold */
- if ((*flags & MEMC_VAL_COMPRESSED) && buf.len < MEMC_G(compression_threshold)) {
+ if ((*flags & MEMC_VAL_COMPRESSED) && l < MEMC_G(compression_threshold)) {
*flags &= ~MEMC_VAL_COMPRESSED;
}
Please sign in to comment.
Something went wrong with that request. Please try again.