From: Brian Pane Date: Mon, 29 Apr 2002 08:05:37 +0000 (+0000) Subject: Replaced a sprintf("%d") with itoa X-Git-Tag: 2.0.36~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c04f98079bc8e05fb12c8fac8a6ac5ce1d693bd;p=apache Replaced a sprintf("%d") with itoa git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94856 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 91bd422928..a73d9bd929 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -390,7 +390,7 @@ static request_rec *internal_internal_redirect(const char *new_uri, ap_add_input_filter("HTTP_IN", NULL, new, new->connection); apr_table_setn(new->subprocess_env, "REDIRECT_STATUS", - apr_psprintf(r->pool, "%d", r->status)); + apr_itoa(r->pool, r->status)); /* * XXX: hmm. This is because mod_setenvif and mod_unique_id really need