You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rj...@apache.org on 2013/10/03 15:37:27 UTC
svn commit: r1528857 - in /apr/apr-util/branches/1.5.x: ./
memcache/apr_memcache.c
Author: rjung
Date: Thu Oct 3 13:37:27 2013
New Revision: 1528857
URL: http://svn.apache.org/r1528857
Log:
fix crash introduced in r1484271
Backport of r1493715 from trunk.
Modified:
apr/apr-util/branches/1.5.x/ (props changed)
apr/apr-util/branches/1.5.x/memcache/apr_memcache.c
Propchange: apr/apr-util/branches/1.5.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1493715
Modified: apr/apr-util/branches/1.5.x/memcache/apr_memcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/memcache/apr_memcache.c?rev=1528857&r1=1528856&r2=1528857&view=diff
==============================================================================
--- apr/apr-util/branches/1.5.x/memcache/apr_memcache.c (original)
+++ apr/apr-util/branches/1.5.x/memcache/apr_memcache.c Thu Oct 3 13:37:27 2013
@@ -328,7 +328,7 @@ mc_conn_construct(void **conn_, void *pa
apr_pool_t *tp;
apr_memcache_server_t *ms = params;
#if APR_HAVE_SOCKADDR_UN
- apr_int32_t family = conn->ms->host[0] != '/' ? APR_INET : APR_UNIX;
+ apr_int32_t family = ms->host[0] != '/' ? APR_INET : APR_UNIX;
#else
apr_int32_t family = APR_INET;
#endif