X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=sidebyside;f=source%2Fforms%2Fupdate%2FfrmUpdate.cpp;h=25e931c3e66a7a2bf6a3fc6c094c8affc16bad4f;hb=b00724231971de7bc52e5cd7f11f0d4669e9aafd;hp=bb46cd1559e3e49fb0428096aa4c6722e20acdd2;hpb=66ebed13414439cd56161faa2abcff7744ab4588;p=xestiacalendar%2F.git diff --git a/source/forms/update/frmUpdate.cpp b/source/forms/update/frmUpdate.cpp index bb46cd1..25e931c 100644 --- a/source/forms/update/frmUpdate.cpp +++ b/source/forms/update/frmUpdate.cpp @@ -26,7 +26,7 @@ size_t WritebackFuncUpdate(char *ptr, size_t size, size_t nmemb, wxString *strea //wxString *PageInput; data = wxString::FromUTF8((char *)ptr); - stream->Append(Data); + stream->Append(data); return size * nmemb; @@ -52,7 +52,7 @@ void frmUpdate::FetchData() wxString pageData; wxString pageHeader; - wxString updateAddress = wxT("http://update.xestia.co.uk/xestiacalendar/"); + wxString updateAddress = wxT("https://update.xestia.co.uk/xestiacalendar/"); updateAddress.Append(XSDCAL_SOURCE); curl_easy_setopt(conn, CURLOPT_URL, (const char*)updateAddress.mb_str(wxConvUTF8)); @@ -125,7 +125,7 @@ void frmUpdate::FetchData() // Set a message. - if (BuildType == wxT("source")){ + if (buildType == wxT("source")){ // Write message about getting the update // from Xestia Gelforn.