mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
bazaar: Fixing...
git-svn-id: svn://ultimatepp.org/upp/trunk@9135 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4c68f62833
commit
20424b0de8
16 changed files with 45 additions and 43 deletions
|
|
@ -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))
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue