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) ...@@ -100,7 +100,6 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename)
{ {
char buf[512]; char buf[512];
int rc = 0; int rc = 0;
FILE *pipe;
if (strchr(filename, '"')) { if (strchr(filename, '"')) {
strcpy(g->Message, "Invalid file name"); strcpy(g->Message, "Invalid file name");
...@@ -150,7 +149,7 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename) ...@@ -150,7 +149,7 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename)
strcpy(g->Message, "curl CLI not installed"); strcpy(g->Message, "curl CLI not installed");
return 1; return 1;
} else } else
close(f); pclose(f);
pID = vfork(); pID = vfork();
sprintf(fn, "-o%s", filename); 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