summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-02-16 07:11:33 +0000
committerAntony Dovgal <tony2001@php.net>2007-02-16 07:11:33 +0000
commit5ed01dccb5dfe3f881a73863f08bba1ec96521d0 (patch)
tree6c8cff68b43802dcd8b7641445b77cd83e4d42af
parent61261dc5b988b6a5ced2a0c72e7d9638d3987515 (diff)
downloadphp-git-5ed01dccb5dfe3f881a73863f08bba1ec96521d0.tar.gz
fix ext/interbase build
-rw-r--r--ext/interbase/interbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c
index fb6a2c1143..c876132b23 100644
--- a/ext/interbase/interbase.c
+++ b/ext/interbase/interbase.c
@@ -3048,9 +3048,9 @@ static void _php_ibase_user(INTERNAL_FUNCTION_PARAMETERS, int operation)
*/
/* Build buffer for isc_service_attach() */
- snprintf(buf, sizeof(buf), "%c%c%c%d%s%c%d%s", isc_spb_version, isc_spb_current_version, isc_spb_user_name,
+ snprintf(spb_buffer, sizeof(spb_buffer), "%c%c%c%d%s%c%d%s", isc_spb_version, isc_spb_current_version, isc_spb_user_name,
strlen(dba_user_name), dba_user_name, isc_spb_password, strlen(dba_password), dba_password);
- spb_length = strlen(buf);
+ spb_length = strlen(spb_buffer);
/* Attach to the Service Manager */
snprintf(service_name, sizeof(service_name), "%s:service_mgr", ib_server);