From 711065e4df72a3a6c8828eac30750a95d8d556d0 Mon Sep 17 00:00:00 2001
From: Steve Holme <steve_holme@hotmail.com>
Date: Sun, 3 Mar 2013 11:10:24 +0000
Subject: [PATCH] pop3: Fixed unnecessary parent structure reference

Updated pop3 code following recent imap changes.
---
 lib/pop3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.40.0