]> granicus.if.org Git - curl/commitdiff
os400: fix extra parameter syntax error.
authorPatrick Monnerat <patrick@monnerat.net>
Thu, 10 Jan 2019 10:50:27 +0000 (11:50 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Thu, 10 Jan 2019 10:50:27 +0000 (11:50 +0100)
Reported-by: jonrumsey on github
Closes #3453

packages/OS400/ccsidcurl.c

index ca711d0c01406de8f28bf1b585c1715b972fdc64..1fa253a22d5b3b657c4687253232aa6602553b7a 100644 (file)
@@ -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;
     }