mirror of
https://github.com/curl/curl.git
synced 2025-02-05 14:30:10 +08:00
parent
246e0d805a
commit
1e4cd51935
@ -1227,7 +1227,7 @@ struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
|
||||
|
||||
if(data) {
|
||||
FILE *fp = NULL;
|
||||
if(file) {
|
||||
if(file && *file) {
|
||||
if(!strcmp(file, "-"))
|
||||
fp = stdin;
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user