apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r545427 - /apr/apr-util/trunk/test/testmemcache.c
Date Fri, 08 Jun 2007 05:51:03 GMT
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);



Mime
View raw message