summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2019-01-10 11:50:27 +0100
committerPatrick Monnerat <patrick@monnerat.net>2019-01-10 11:50:27 +0100
commitadf39fbfb3c1d89b88e1ff89a48124f0c6c6eb5c (patch)
treee2091afa9b0b89763952e5c317346ffc0aea17e7 /packages
parentf6bb05ccbd51c819c56e0ab17b8497c4e26ad24e (diff)
downloadcurl-adf39fbfb3c1d89b88e1ff89a48124f0c6c6eb5c.tar.gz
os400: fix extra parameter syntax error.
Reported-by: jonrumsey on github Closes #3453
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/ccsidcurl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c
index ca711d0c0..1fa253a22 100644
--- a/packages/OS400/ccsidcurl.c
+++ b/packages/OS400/ccsidcurl.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, 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
@@ -1448,7 +1448,7 @@ curl_url_get_ccsid(CURLU *handle, CURLUPart what, char **part,
result = curl_url_get(handle, what, &s, flags);
if(result == CURLUE_OK) {
if(s) {
- *part = dynconvert(ccsid, s, -1, ccsid, ASCII_CCSID);
+ *part = dynconvert(ccsid, s, -1, ASCII_CCSID);
if(!*part)
result = CURLUE_OUT_OF_MEMORY;
}