~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to sendreceive/resources.cpp

  • Committer: Teus Benschop
  • Date: 2022-11-13 10:10:35 UTC
  • Revision ID: teusjannette@gmail.com-20221113101035-tfpqtklwoj31b306
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include <sync/resources.h>
39
39
#include <sword/logic.h>
40
40
#include <demo/logic.h>
 
41
using namespace std;
41
42
 
42
43
 
43
44
int sendreceive_resources_watchdog = 0;
163
164
            error.clear ();
164
165
            filter_url_download_file (url2, client_path, error, false);
165
166
            if (error.empty ()) {
166
 
              string bookname = database::books::get_english_from_id (book);
 
167
              string bookname = database::books::get_english_from_id_v1 (book);
167
168
              Database_Logs::log ("Downloaded " + resource + " " + bookname, Filter_Roles::consultant ());
168
169
            } else {
169
170
              Database_Logs::log ("Failed to download resource " + response2 + " :" + error, Filter_Roles::consultant ());