From 8500fc4b14ff2a6501dd295f1ab956b85bc828d3 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Wed, 4 Aug 2010 21:26:55 +0000 Subject: - this is handling the error condition, not success [note, testmemcache apparently doesn't hit this path] git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@982409 13f79535-47bb-0310-9956-ffa450edef68 --- memcache/apr_memcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'memcache') diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c index dc4df8538..06773abbc 100644 --- a/memcache/apr_memcache.c +++ b/memcache/apr_memcache.c @@ -790,7 +790,7 @@ apr_memcache_getp(apr_memcache_t *mc, len = strtol(length, (char **)NULL, 10); } - if (len != 0 ) { + if (len == 0 ) { *new_length = 0; *baton = NULL; } -- cgit v1.2.1