Commit d1b6cad0 authored by Olivier Bertrand's avatar Olivier Bertrand

Test tabrest.cpp fix

parent c030f4c6
......@@ -100,7 +100,6 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename)
{
char buf[512];
int rc = 0;
FILE *pipe;
if (strchr(filename, '"')) {
strcpy(g->Message, "Invalid file name");
......@@ -150,7 +149,7 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename)
strcpy(g->Message, "curl CLI not installed");
return 1;
} else
close(f);
pclose(f);
pID = vfork();
sprintf(fn, "-o%s", filename);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment