]> granicus.if.org Git - apache/commitdiff
Replaced a sprintf("%d") with itoa
authorBrian Pane <brianp@apache.org>
Mon, 29 Apr 2002 08:05:37 +0000 (08:05 +0000)
committerBrian Pane <brianp@apache.org>
Mon, 29 Apr 2002 08:05:37 +0000 (08:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94856 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 91bd4229289756be7a92a6978908c45c8f0b6f28..a73d9bd9291337b557d346bb8e12a2ff86ccbd05 100644 (file)
@@ -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