]> granicus.if.org Git - php/commitdiff
Fixed a typo
authorIlia Alshanetsky <iliaa@php.net>
Sat, 24 Feb 2007 02:59:58 +0000 (02:59 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 24 Feb 2007 02:59:58 +0000 (02:59 +0000)
ext/sybase/php_sybase_db.c

index ee997f4fe729a15784461e1a314d410cf0100dde..10be6992aba77c3ff643b00d43e72855e30d21e2 100644 (file)
@@ -340,7 +340,7 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
                                convert_to_string_ex(yyuser);
                                host = Z_STRVAL_PP(yyhost);
                                user = Z_STRVAL_PP(yyuser);
-                               hashed_details_length = sprintf(&hashed_details, 0, "sybase_%s_%s___", Z_STRVAL_PP(yyhost), Z_STRVAL_PP(yyuser));
+                               hashed_details_length = spprintf(&hashed_details, 0, "sybase_%s_%s___", Z_STRVAL_PP(yyhost), Z_STRVAL_PP(yyuser));
                        }
                        break;
                case 3: {