mirror of
https://github.com/curl/curl.git
synced 2026-04-18 17:11:44 +03:00
parent
bdaa6dd5ba
commit
025bad1182
1 changed files with 2 additions and 1 deletions
|
|
@ -122,7 +122,8 @@ CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir)
|
|||
bool relativePath = false;
|
||||
static const char WHITESPACE[] = " \t\r\n";
|
||||
|
||||
if(!*cp) {
|
||||
DEBUGASSERT(homedir);
|
||||
if(!*cp || !homedir) {
|
||||
*cpp = NULL;
|
||||
*path = NULL;
|
||||
return CURLE_QUOTE_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue