Change return type of am_reconstruct_url to not be const.

git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@97 a716ebb1-153a-0410-b759-cfb97c6a1b53
This commit is contained in:
olavmrk 2010-06-30 14:02:24 +00:00
parent 60a4595c20
commit d636368892
2 changed files with 3 additions and 3 deletions

View File

@ -251,7 +251,7 @@ void am_release_request_session(request_rec *r, am_cache_entry_t *session);
void am_delete_request_session(request_rec *r, am_cache_entry_t *session);
const char *am_reconstruct_url(request_rec *r);
char *am_reconstruct_url(request_rec *r);
int am_check_permissions(request_rec *r, am_cache_entry_t *session);
void am_set_nocache(request_rec *r);
int am_read_post_data(request_rec *r, char **data, apr_size_t *length);

View File

@ -33,9 +33,9 @@
* A string containing the full url of the current request.
* The string is allocated from r->pool.
*/
const char *am_reconstruct_url(request_rec *r)
char *am_reconstruct_url(request_rec *r)
{
const char *url;
char *url;
/* This function will construct an full url for a given path relative to
* the root of the web site. To configure what hostname and port this