]> granicus.if.org Git - apache/commitdiff
* Make module compile by fixing some typos.
authorRuediger Pluem <rpluem@apache.org>
Wed, 9 Feb 2011 08:03:40 +0000 (08:03 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 9 Feb 2011 08:03:40 +0000 (08:03 +0000)
PR: 50735
Submitted by: Mark Montague <mark catseye.org>
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068778 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/cache/mod_socache_dc.c

diff --git a/CHANGES b/CHANGES
index a79509510835921e259502b84938cb66b5f02cf2..a89d2af1fc5041b8a1db5bbe25e4603b820e5b69 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.3.11
 
+  *) mod_socache_dc: Make module compile by fixing some typos.
+     PR 50735 [Mark Montague <mark catseye.org>]
+
   *) prefork: Update MPM state in children during a graceful stop or
      restart.  PR 41743.  [Andrew Punch <andrew.punch 247realmedia.com>]
 
index 74b879cb2298479b3ae48b6c0cdd9d078a7913b9..1c11d089fd7cc1e34c57faa02510943c2b110723 100644 (file)
@@ -100,10 +100,10 @@ static apr_status_t socache_dc_store(ap_socache_instance_t *ctx, server_rec *s,
      * Uhm - because most things expire things at a specific time?
      * Were the API were thought out expiry - r->request_time is a good approximation
      */
-    expiry -= apr_time_t(NULL);
+    expiry -= apr_time_now();
     /* Send the serialised session to the distributed cache context */
     if (!DC_CTX_add_session(ctx->dc, id, idlen, der, der_len,
-                            apr_time_in_msec(expiry)) {
+                            apr_time_msec(expiry))) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "distributed scache 'store' failed");
         return APR_EGENERAL;
     }