summaryrefslogtreecommitdiff
path: root/memcache/apr_memcache.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2012-09-27 20:07:15 +0000
committerJeff Trawick <trawick@apache.org>2012-09-27 20:07:15 +0000
commitcc825a36a7ef3eff86fb4c5dbb2ba0645bc63a6e (patch)
tree15faf493670b4d360f7442b07fdf6012a2aa4254 /memcache/apr_memcache.c
parented80ace5a7f519e656a84eb4e0d0152bccd858b9 (diff)
downloadapr-cc825a36a7ef3eff86fb4c5dbb2ba0645bc63a6e.tar.gz
Revert r1390526; ttl is in microseconds
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1391193 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memcache/apr_memcache.c')
-rw-r--r--memcache/apr_memcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c
index 1326e0f90..504ec37a6 100644
--- a/memcache/apr_memcache.c
+++ b/memcache/apr_memcache.c
@@ -414,7 +414,7 @@ APR_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p,
min, /* hard minimum */
smax, /* soft maximum */
max, /* hard maximum */
- apr_time_from_sec(ttl), /* Time to live */
+ ttl, /* Time to live */
mc_conn_construct, /* Make a New Connection */
mc_conn_destruct, /* Kill Old Connection */
server, np);