aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 6db71d1e6..69638a946 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1547,7 +1547,7 @@ static CURLcode pop3_parse_custom_request(struct connectdata *conn)
CURLcode result = CURLE_OK;
struct SessionHandle *data = conn->data;
struct POP3 *pop3 = data->state.proto.pop3;
- const char *custom = conn->data->set.str[STRING_CUSTOMREQUEST];
+ const char *custom = data->set.str[STRING_CUSTOMREQUEST];
/* URL decode the custom request */
if(custom)