1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

os400: fix extra parameter syntax error.

Reported-by: jonrumsey on github
Closes #3453
This commit is contained in:
Patrick Monnerat 2019-01-10 11:50:27 +01:00
parent f6bb05ccbd
commit adf39fbfb3

View 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;
}