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:
parent
60a4595c20
commit
d636368892
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue