You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2007/07/11 02:10:01 UTC
svn commit: r555122 - /apr/apr-util/trunk/dbd/apr_dbd.c
Author: fuankg
Date: Tue Jul 10 17:10:00 2007
New Revision: 555122
URL: http://svn.apache.org/viewvc?view=rev&rev=555122
Log:
oups - the apr_snprintf() for the symbol should have kept.
Modified:
apr/apr-util/trunk/dbd/apr_dbd.c
Modified: apr/apr-util/trunk/dbd/apr_dbd.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbd/apr_dbd.c?view=diff&rev=555122&r1=555121&r2=555122
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd.c Tue Jul 10 17:10:00 2007
@@ -162,7 +162,7 @@
if (rv != APR_SUCCESS) { /* APR_EDSOOPEN */
goto unlock;
}
- sprintf(path, "apr_dbd_%s_driver", name);
+ apr_snprintf(path, sizeof path, "apr_dbd_%s_driver", name);
rv = apr_dso_sym(&symbol, dlhandle, path);
if (rv != APR_SUCCESS) { /* APR_ESYMNOTFOUND */
apr_dso_unload(dlhandle);