From: Richard Mudgett Date: Tue, 18 Mar 2014 02:09:25 +0000 (+0000) Subject: stasis_cache: Use the right variable in the cache entry ao2 cmp function. X-Git-Tag: 13.0.0-beta1~428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=614b6abc38f2e87f45237e202a3960cf498225d0;p=thirdparty%2Fasterisk.git stasis_cache: Use the right variable in the cache entry ao2 cmp function. ........ Merged revisions 410813 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410814 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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) {