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:51:03 UTC

svn commit: r545427 - /apr/apr-util/trunk/test/testmemcache.c

Author: pquerna
Date: Thu Jun  7 22:51:02 2007
New Revision: 545427

URL: http://svn.apache.org/viewvc?view=rev&rev=545427
Log:
Fix tests for new hash API.

Modified:
    apr/apr-util/trunk/test/testmemcache.c

Modified: apr/apr-util/trunk/test/testmemcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/testmemcache.c?view=diff&rev=545427&r1=545426&r2=545427
==============================================================================
--- apr/apr-util/trunk/test/testmemcache.c (original)
+++ apr/apr-util/trunk/test/testmemcache.c Thu Jun  7 22:51:02 2007
@@ -87,7 +87,7 @@
     rv = apr_memcache_enable_server(memcache, s);
     ABTS_ASSERT(tc, "server enable failed", rv == APR_SUCCESS);
     
-    hash = apr_memcache_hash(prefix, strlen(prefix));
+    hash = apr_memcache_hash(memcache, prefix, strlen(prefix));
     ABTS_ASSERT(tc, "hash failed", hash > 0);
     
     s = apr_memcache_find_server_hash(memcache, hash);