summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-12 17:18:21 +0000
committerSascha Schumann <sas@php.net>2000-03-12 17:18:21 +0000
commitbb09ee9505023838079d427d47e7d0b0494d1b8c (patch)
tree630e0c0a4cb16196323e88c1f4759cea3cd60574 /ext/odbc/php_odbc.c
parent00c14f7413e7dff82fb187d990d5d19c0ad2a7cf (diff)
downloadphp-git-bb09ee9505023838079d427d47e7d0b0494d1b8c.tar.gz
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index e9ee39a35e..03e154b7c9 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -1725,7 +1725,7 @@ void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
RETURN_FALSE;
}
- hashed_len = php_sprintf(hashed_details, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt);
+ hashed_len = sprintf(hashed_details, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid, pwd, cur_opt);
/* FIXME the idea of checking to see if our connection is already persistent
is good, but it adds a lot of overhead to non-persistent connections. We