From: Bill Stoddard Date: Thu, 7 Mar 2002 22:48:37 +0000 (+0000) Subject: Deconstify... X-Git-Tag: CHANGES~187 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33d246241a04a2d476e248d20e68e5fc36a5da12;p=apache Deconstify... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93782 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index 1934ba408d..6d51618013 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -626,14 +626,14 @@ static apr_status_t write_headers(cache_handle_t *h, request_rec *r, cache_info if (!obj->info.content_type) { return APR_ENOMEM; } - strcpy((char*) obj->info.content_type, info->content_type); + strcpy(obj->info.content_type, info->content_type); } if ( info->filename) { obj->info.filename = (char*) calloc(1, strlen(info->filename) + 1); if (!obj->info.filename ) { return APR_ENOMEM; } - strcpy((char*) obj->info.filename, info->filename ); + strcpy(obj->info.filename, info->filename ); } return APR_SUCCESS;