diff options
author | pgollucci <pgollucci@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-04 21:26:55 +0000 |
---|---|---|
committer | pgollucci <pgollucci@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-04 21:26:55 +0000 |
commit | 8500fc4b14ff2a6501dd295f1ab956b85bc828d3 (patch) | |
tree | 9791345573802129e661c3a497624fa278b0b8f5 /memcache | |
parent | 49cace0dcde6a72e3aef748da00d7851e4a3f1fa (diff) | |
download | libapr-8500fc4b14ff2a6501dd295f1ab956b85bc828d3.tar.gz |
- 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
Diffstat (limited to 'memcache')
-rw-r--r-- | memcache/apr_memcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |