diff options
author | Takashi Sato <takashi@apache.org> | 2009-05-30 05:36:32 +0200 |
---|---|---|
committer | Takashi Sato <takashi@apache.org> | 2009-05-30 05:36:32 +0200 |
commit | 238e2c742aa044abc7b73d33b58216fd9f07923b (patch) | |
tree | 7c34695489c9f38c73be87fb6e4b0935e3b280fd /support/logresolve.c | |
parent | Further clarify what variables one has access to in the <If> directive. (diff) | |
download | apache2-238e2c742aa044abc7b73d33b58216fd9f07923b.tar.xz apache2-238e2c742aa044abc7b73d33b58216fd9f07923b.zip |
Specify a pool for cache with apr_hash_pool_get instead of describing "pool" directly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@780170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/logresolve.c')
-rw-r--r-- | support/logresolve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/logresolve.c b/support/logresolve.c index 0e6f3ac4a6..c746bb5f37 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -272,7 +272,7 @@ int main(int argc, const char * const argv[]) /* Add to cache */ *space = '\0'; apr_hash_set(cache, line, APR_HASH_KEY_STRING, - apr_pstrdup(pool, line)); + apr_pstrdup(apr_hash_pool_get(cache), line)); continue; } @@ -293,7 +293,7 @@ int main(int argc, const char * const argv[]) /* Add to cache */ *space = '\0'; apr_hash_set(cache, line, APR_HASH_KEY_STRING, - apr_pstrdup(pool, line)); + apr_pstrdup(apr_hash_pool_get(cache), line)); continue; } } @@ -303,7 +303,7 @@ int main(int argc, const char * const argv[]) /* Store it in the cache */ apr_hash_set(cache, line, APR_HASH_KEY_STRING, - apr_pstrdup(pool, hostname)); + apr_pstrdup(apr_hash_pool_get(cache), hostname)); apr_pool_clear(pline); } |