diff options
author | Sascha Schumann <sas@php.net> | 2000-03-12 17:18:21 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-03-12 17:18:21 +0000 |
commit | bb09ee9505023838079d427d47e7d0b0494d1b8c (patch) | |
tree | 630e0c0a4cb16196323e88c1f4759cea3cd60574 /sapi/cgi | |
parent | 00c14f7413e7dff82fb187d990d5d19c0ad2a7cf (diff) | |
download | php-git-bb09ee9505023838079d427d47e7d0b0494d1b8c.tar.gz |
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
Diffstat (limited to 'sapi/cgi')
-rw-r--r-- | sapi/cgi/cgi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 6d7aa8eb7d..09379d12ba 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -146,7 +146,7 @@ static void sapi_cgi_register_variables(zval *track_vars_array ELS_DC SLS_DC PLS pi = NULL; } val = emalloc(l + 1); - php_sprintf(val, "%s%s", (sn ? sn : ""), (pi ? pi : "")); /* SAFE */ + sprintf(val, "%s%s", (sn ? sn : ""), (pi ? pi : "")); /* SAFE */ php_register_variable("PHP_SELF", val, track_vars_array ELS_CC PLS_CC); efree(val); } |