aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getinfo.c2
-rw-r--r--lib/url.c2
-rw-r--r--lib/urldata.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 6ab6f9587..f33b0d61a 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -167,7 +167,7 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
*param_charp = data->info.contenttype;
break;
case CURLINFO_PRIVATE:
- *param_charp = data->set.private;
+ *param_charp = data->set.private_data;
break;
case CURLINFO_HTTPAUTH_AVAIL:
*param_longp = data->info.httpauthavail;
diff --git a/lib/url.c b/lib/url.c
index 65d7cf032..50b50615d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1311,7 +1311,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
/*
* Set private data pointer.
*/
- data->set.private = va_arg(param, char *);
+ data->set.private_data = va_arg(param, char *);
break;
case CURLOPT_MAXFILESIZE:
diff --git a/lib/urldata.h b/lib/urldata.h
index 64c8a1d8f..407af2aaf 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -899,7 +899,7 @@ struct UserDefined {
int dns_cache_timeout; /* DNS cache timeout */
long buffer_size; /* size of receive buffer to use */
- char *private; /* Private data */
+ char *private_data; /* Private data */
struct curl_slist *http200aliases; /* linked list of aliases for http200 */