projects
/
platform
/
upstream
/
curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netrc: treat failure to find home dir same as missing netrc file
[platform/upstream/curl.git]
/
lib
/
netrc.c
diff --git
a/lib/netrc.c
b/lib/netrc.c
index
a1b00b2
..
a7a7101
100644
(file)
--- a/
lib/netrc.c
+++ b/
lib/netrc.c
@@
-88,7
+88,7
@@
int Curl_parsenetrc(const char *host,
}
if(!home)
- return
-1;
+ return
retcode; /* no home directory found (or possibly out of memory) */
netrcfile = curl_maprintf("%s%s%s", home, DIR_CHAR, NETRC);
if(home_alloc)