summaryrefslogtreecommitdiff
path: root/src/tool_easysrc.c
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2017-09-02 18:17:33 +0100
committerPatrick Monnerat <patrick@monnerat.net>2017-09-02 18:17:33 +0100
commitfec7a858b88c86e97e5dc96414a01feb21a2b661 (patch)
treef9b668896ab1e75aaae8e91d6428efb4a11cbd22 /src/tool_easysrc.c
parentce0881edee3c78609eae49665fb70264d8786d29 (diff)
downloadcurl-fec7a858b88c86e97e5dc96414a01feb21a2b661.tar.gz
mime: use in curl cli tool instead of form API.
Extended -F option syntax to support multipart mail messages. -F keyword headers= added to include custom headers in parts. Documentation upgraded.
Diffstat (limited to 'src/tool_easysrc.c')
-rw-r--r--src/tool_easysrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c
index c2dccf9fb..602409d14 100644
--- a/src/tool_easysrc.c
+++ b/src/tool_easysrc.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, 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
@@ -42,7 +42,7 @@ struct slist_wc *easysrc_data = NULL; /* Build slists, forms etc. */
struct slist_wc *easysrc_code = NULL; /* Setopt calls */
struct slist_wc *easysrc_toohard = NULL; /* Unconvertible setopt */
struct slist_wc *easysrc_clean = NULL; /* Clean up allocated data */
-int easysrc_form_count = 0;
+int easysrc_mime_count = 0;
int easysrc_slist_count = 0;
static const char *const srchead[]={