You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by pq...@apache.org on 2007/06/08 07:39:27 UTC

svn commit: r545426 - /apr/apr-util/trunk/memcache/apr_memcache.c

Author: pquerna
Date: Thu Jun  7 22:39:26 2007
New Revision: 545426

URL: http://svn.apache.org/viewvc?view=rev&rev=545426
Log:
Init the hash function and baton to NULL.

Modified:
    apr/apr-util/trunk/memcache/apr_memcache.c

Modified: apr/apr-util/trunk/memcache/apr_memcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/memcache/apr_memcache.c?view=diff&rev=545426&r1=545425&r2=545426
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Thu Jun  7 22:39:26 2007
@@ -408,6 +408,8 @@
     mc->nalloc = max_servers;
     mc->ntotal = 0;
     mc->live_servers = apr_palloc(p, mc->nalloc * sizeof(struct apr_memcache_server_t *));
+    mc->hash_func = NULL;
+    mc->hash_baton = NULL;
     *memcache = mc;
     return rv;
 }