diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-02-27 03:28:17 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-02-27 03:28:17 +0000 |
commit | efad70c2cc2edd8416a18ea6daf06f8627d1d68d (patch) | |
tree | 0a59c0e22bb3b224433600d86b8430276ed87b45 /sapi/cgi/fastcgi.c | |
parent | cc04404b28d10481f63be986fe815de1fe31088b (diff) | |
download | php-git-efad70c2cc2edd8416a18ea6daf06f8627d1d68d.tar.gz |
snprintf() -> slprintf()
Diffstat (limited to 'sapi/cgi/fastcgi.c')
-rw-r--r-- | sapi/cgi/fastcgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 6e915804f1..8ca3d569a7 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -588,8 +588,8 @@ static int fcgi_read_request(fcgi_request *req) for (j = 0; j < sizeof(fcgi_mgmt_vars)/sizeof(fcgi_mgmt_vars[0]); j++) { if (zend_hash_exists(&req->env, fcgi_mgmt_vars[j].name, fcgi_mgmt_vars[j].name_len+1) == 0) { - sprintf((char*)p, "%c%c%s%c", fcgi_mgmt_vars[j].name_len, 1, fcgi_mgmt_vars[j].name, fcgi_mgmt_vars[j].val); - p += fcgi_mgmt_vars[j].name_len + 3; + sprintf((char*)p, "%c%c%s%c", fcgi_mgmt_vars[j].name_len, 1, fcgi_mgmt_vars[j].name, fcgi_mgmt_vars[j].val); + p += fcgi_mgmt_vars[j].name_len + 3; } } len = p - buf - sizeof(fcgi_header); |