mirror of
https://github.com/curl/curl.git
synced 2026-08-01 13:58:39 +03:00
Added const to some pointer variables
This commit is contained in:
parent
79fc481a2b
commit
95456b8e78
4 changed files with 28 additions and 23 deletions
|
|
@ -2046,11 +2046,11 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||
char *buf = data->state.buffer; /* this is a short cut to the buffer */
|
||||
CURLcode result=CURLE_OK;
|
||||
struct HTTP *http;
|
||||
char *ppath = data->state.path;
|
||||
const char *ppath = data->state.path;
|
||||
char ftp_typecode[sizeof(";type=?")] = "";
|
||||
char *host = conn->host.name;
|
||||
const char *host = conn->host.name;
|
||||
const char *te = ""; /* transfer-encoding */
|
||||
char *ptr;
|
||||
const char *ptr;
|
||||
const char *request;
|
||||
Curl_HttpReq httpreq = data->set.httpreq;
|
||||
char *addcookies = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue