Skip to content

Commit

Permalink
Remove "continue" option from curl.
Browse files Browse the repository at this point in the history
We used this as a temporary hack to avoid stopping when the file is
already present, but it actually breaks the initial download. autogtp
already checks for an existing network itself.
  • Loading branch information
gcp committed Nov 15, 2017
1 parent 6017e42 commit 4a3d7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogtp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool fetch_best_network(QTextStream& cerr, QString& netname) {
// Use the filename from the server
// Resume download if file exists (aka avoid redownloading, and don't
// error out if it exists)
prog_cmdline.append(" -s -C - -O -J");
prog_cmdline.append(" -s -O -J");
prog_cmdline.append(" -w %{filename_effective}");
prog_cmdline.append(" http://zero-test.sjeng.org/best-network");

Expand Down

0 comments on commit 4a3d7cd

Please sign in to comment.