diff options
author | Sascha Schumann <sas@php.net> | 2000-11-02 15:47:02 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-11-02 15:47:02 +0000 |
commit | 43ff395b65234ebc606549720b24387ec5a79d06 (patch) | |
tree | e8dc1e802a3fbfca7fea3b38b229dd805eea89ba /main/SAPI.h | |
parent | 9866d899e926c971980fd13ccaa9ab5e83f17b90 (diff) | |
download | php-git-43ff395b65234ebc606549720b24387ec5a79d06.tar.gz |
Const'ify part of sapi_request_info.
query_string, post_data, path_translated, request_uri, auth_user,
auth_password and argv0 are modified, so they cannot become const.
Diffstat (limited to 'main/SAPI.h')
-rw-r--r-- | main/SAPI.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/SAPI.h b/main/SAPI.h index e551a32165..31e6872ab8 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -61,17 +61,17 @@ extern sapi_module_struct sapi_module; /* true global */ typedef struct { - char *request_method; + const char *request_method; char *query_string; char *post_data; - char *cookie_data; + const char *cookie_data; long content_length; uint post_data_length; char *path_translated; char *request_uri; - char *content_type; + const char *content_type; unsigned char headers_only; |