Browse Source

quick fix

COM-121
Volker Birk 6 years ago
parent
commit
34b8bd0b18
2 changed files with 11 additions and 4 deletions
  1. +5
    -0
      GateKeeper.cpp
  2. +6
    -4
      GateKeeper.h

+ 5
- 0
GateKeeper.cpp View File

@ -131,12 +131,17 @@ namespace pEp {
return;
// update
PCTSTR rgpszAcceptTypes[] = { _T("text/plain"), NULL };
HINTERNET hRequest = HttpOpenRequest(hUrl, NULL, _T("challenge"), NULL, NULL, rgpszAcceptTypes, INTERNET_FLAG_NO_UI | INTERNET_FLAG_SECURE, context);
InternetCloseHandle(hUrl);
}
void GateKeeper::keep_updated()
{
return; // disabled for now
internet = InternetOpen(_T("pEp"), INTERNET_OPEN_TYPE_PROXY, NULL, NULL, 0);
product_list& products = registered_products();


+ 6
- 4
GateKeeper.h View File

@ -1,17 +1,19 @@
class CpEpCOMServerAdapterModule;
using namespace std;
namespace pEp {
#ifdef UNICODE
typedef std::wstring tstring;
typedef wstring tstring;
#else
typedef std::string tstring;
typedef string tstring;
#endif
class GateKeeper {
public:
typedef std::pair<tstring, tstring> product;
typedef std::vector< product > product_list;
typedef pair<tstring, tstring> product;
typedef vector< product > product_list;
GateKeeper(CpEpCOMServerAdapterModule * const self);
~GateKeeper();


Loading…
Cancel
Save