[asterisk-commits] snuffy: branch snuffy/func_memcache r230766 - /team/snuffy/func_memcache/funcs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 21 03:28:13 CST 2009


Author: snuffy
Date: Sat Nov 21 03:28:11 2009
New Revision: 230766

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=230766
Log:
Fix minor compile error..

Modified:
    team/snuffy/func_memcache/funcs/func_memcache.c

Modified: team/snuffy/func_memcache/funcs/func_memcache.c
URL: http://svnview.digium.com/svn/asterisk/team/snuffy/func_memcache/funcs/func_memcache.c?view=diff&rev=230766&r1=230765&r2=230766
==============================================================================
--- team/snuffy/func_memcache/funcs/func_memcache.c (original)
+++ team/snuffy/func_memcache/funcs/func_memcache.c Sat Nov 21 03:28:11 2009
@@ -147,7 +147,7 @@
 	AST_RWLIST_RDLOCK(&memcaches);
 	AST_RWLIST_TRAVERSE(&memcaches, memc, list) {
 		if (!strcmp(memc->name, server)) {
-			if (client->trans_protocol == 0) {
+			if (memc->trans_protocol == 0) {
 				value = memcached_get(memc->conn, key, strlen(key), &value_len, &flags, &memc->rc);
 				if (memc->rc != 0) {
 					ast_log(LOG_ERROR, "Memcache Error: %s\n", 




More information about the asterisk-commits mailing list