summaryrefslogtreecommitdiff
path: root/lib/ftp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-02-06 15:59:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-02-07 08:18:36 +0100
commit5ce7102ceae250e2d31b54aad2f33b3bc35f243a (patch)
treeb0998aa18b0c3822b9e30e77f103b904745fba01 /lib/ftp.h
parent950b53da0d47f8975a062b9fbba9e1db0efb8f31 (diff)
downloadgnurl-5ce7102ceae250e2d31b54aad2f33b3bc35f243a.tar.gz
gnurl-5ce7102ceae250e2d31b54aad2f33b3bc35f243a.tar.bz2
gnurl-5ce7102ceae250e2d31b54aad2f33b3bc35f243a.zip
ftp: remove the duplicated user/password struct fields
Closes #4887
Diffstat (limited to 'lib/ftp.h')
-rw-r--r--lib/ftp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ftp.h b/lib/ftp.h
index 2c88d568c..984347f2a 100644
--- a/lib/ftp.h
+++ b/lib/ftp.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -102,8 +102,6 @@ typedef enum {
perhaps the Curl_easy is changed between the times the connection is
used. */
struct FTP {
- char *user; /* user name string */
- char *passwd; /* password string */
char *path; /* points to the urlpieces struct field */
char *pathalloc; /* if non-NULL a pointer to an allocated path */