mirror of
https://github.com/curl/curl.git
synced 2026-08-01 21:20:28 +03:00
parent
9021e42c02
commit
c567b37548
1 changed files with 0 additions and 4 deletions
|
|
@ -446,11 +446,8 @@ ParameterError setvariable(const char *input)
|
|||
/* read from file or stdin */
|
||||
FILE *file;
|
||||
bool use_stdin;
|
||||
struct dynbuf fname;
|
||||
line++;
|
||||
|
||||
curlx_dyn_init(&fname, MAX_FILENAME);
|
||||
|
||||
use_stdin = !strcmp(line, "-");
|
||||
if(use_stdin)
|
||||
file = stdin;
|
||||
|
|
@ -469,7 +466,6 @@ ParameterError setvariable(const char *input)
|
|||
if(clen)
|
||||
contalloc = TRUE;
|
||||
}
|
||||
curlx_dyn_free(&fname);
|
||||
if(!use_stdin && file)
|
||||
curlx_fclose(file);
|
||||
if(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue