You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2007/10/20 19:54:10 UTC
svn commit: r586765 - /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
Author: niq
Date: Sat Oct 20 10:54:09 2007
New Revision: 586765
URL: http://svn.apache.org/viewvc?rev=586765&view=rev
Log:
apr_dbd_get_entry from r466865 doesn't alloc new memory for each return val.
Modified:
httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
Modified: httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c?rev=586765&r1=586764&r2=586765&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c Sat Oct 20 10:54:09 2007
@@ -148,8 +148,8 @@
}
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 @@
}
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