X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fchristie_certificate_panel.cc;fp=src%2Fwx%2Fchristie_certificate_panel.cc;h=77516fb8229d306f66c67345140ff217a0473868;hp=4d9b1fcb71ab81961832a312519f13a5258f2576;hb=0ba82c1ba8d9e2e69240007a797efe24fc57fd9d;hpb=b7672a6d2d999489a188c539de7d01f5042fdee5 diff --git a/src/wx/christie_certificate_panel.cc b/src/wx/christie_certificate_panel.cc index 4d9b1fcb7..77516fb82 100644 --- a/src/wx/christie_certificate_panel.cc +++ b/src/wx/christie_certificate_panel.cc @@ -64,13 +64,13 @@ ChristieCertificatePanel::do_download () optional all_errors; bool ok = true; - optional error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1)); + auto error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1, _2)); if (error) { all_errors = *error; auto const url = String::compose ("%1IMB-S2/IMB-S2_%2_sha256.pem", prefix, serial); - error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1)); + error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1, _2)); if (error) { *all_errors += "\n" + *error; ok = false;