From d0ede446fff46ff2271758f02c72e1a75d8dfb75 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 18 Mar 2014 02:02:38 +0000 Subject: [PATCH] stasis_cache: Use the right variable in the cache entry ao2 cmp function. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410813 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/stasis_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/stasis_cache.c b/main/stasis_cache.c index 22ace60aff..12f49963c6 100644 --- a/main/stasis_cache.c +++ b/main/stasis_cache.c @@ -236,7 +236,7 @@ static int cache_entry_cmp(void *obj, void *arg, int flags) { const struct stasis_cache_entry *object_left = obj; const struct stasis_cache_entry *object_right = arg; - const struct cache_entry_key *right_key = obj; + const struct cache_entry_key *right_key = arg; int cmp; switch (flags & OBJ_SEARCH_MASK) {