X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fmemcached_response.c;h=7402975f895761ade88c41864174b074e630c433;hb=3bd95102380ff8d9f2599f0965c09776344d0691;hp=076b0a6fc2bd67a49c3d5d22e50f9405102c0553;hpb=311bd0fafe1da7b5cc770a2ff4fac5472a801a40;p=m6w6%2Flibmemcached diff --git a/lib/memcached_response.c b/lib/memcached_response.c index 076b0a6f..7402975f 100644 --- a/lib/memcached_response.c +++ b/lib/memcached_response.c @@ -42,7 +42,7 @@ memcached_return memcached_response(memcached_st *ptr, buffer_ptr++; total_length++; - WATCHPOINT_ASSERT(total_length < buffer_length); + WATCHPOINT_ASSERT(total_length <= buffer_length); if (total_length >= buffer_length) return MEMCACHED_PROTOCOL_ERROR;