bazaar: Fixing...

git-svn-id: svn://ultimatepp.org/upp/trunk@9135 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-11-02 08:25:00 +00:00
parent 4c68f62833
commit 20424b0de8
16 changed files with 45 additions and 43 deletions

View file

@ -50,8 +50,9 @@ static bool Daemonize(void)
#endif
#endif
void OnVerified(VectorMap<String, String> data)
void OnVerified(IPNServer *s)
{
VectorMap<String, String> data = s->GetVerified();
Cout() << "DUMP OF TRANSACTION DATA:\n\n";
for(int i = 0; i < data.GetCount(); i++)
Cout() << data.GetKey(i) << "=" << data[i] << "\n";
@ -88,7 +89,7 @@ CONSOLE_APP_MAIN
// setup handlers for VERIFIED and INVALID paypal messages
server
.SetVerifiedHandler(STDBACK(OnVerified))
.SetVerifiedHandler(STDBACK1(OnVerified, &server))
.SetInvalidHandler(STDBACK(OnInvalid))
;