diff options
author | Nick Kew <niq@apache.org> | 2007-10-20 19:54:09 +0200 |
---|---|---|
committer | Nick Kew <niq@apache.org> | 2007-10-20 19:54:09 +0200 |
commit | 48c373c213d9f49404da032283ccdd772e1e1b10 (patch) | |
tree | 69bea055c8cf5149a750221a76e2f7e382d24081 /modules/aaa/mod_authn_dbd.c | |
parent | More transformations, note translation diffs. (diff) | |
download | apache2-48c373c213d9f49404da032283ccdd772e1e1b10.tar.xz apache2-48c373c213d9f49404da032283ccdd772e1e1b10.zip |
apr_dbd_get_entry from r466865 doesn't alloc new memory for each return val.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586765 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa/mod_authn_dbd.c')
-rw-r--r-- | modules/aaa/mod_authn_dbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/aaa/mod_authn_dbd.c b/modules/aaa/mod_authn_dbd.c index c81e311185..2902828376 100644 --- a/modules/aaa/mod_authn_dbd.c +++ b/modules/aaa/mod_authn_dbd.c @@ -148,8 +148,8 @@ static authn_status authn_dbd_password(request_rec *r, const char *user, } j++; } - apr_table_setn(r->subprocess_env, str, - apr_dbd_get_entry(dbd->driver, row, i)); + apr_table_set(r->subprocess_env, str, + apr_dbd_get_entry(dbd->driver, row, i)); i++; } #endif @@ -232,8 +232,8 @@ static authn_status authn_dbd_realm(request_rec *r, const char *user, } j++; } - apr_table_setn(r->subprocess_env, str, - apr_dbd_get_entry(dbd->driver, row, i)); + apr_table_set(r->subprocess_env, str, + apr_dbd_get_entry(dbd->driver, row, i)); i++; } #endif |