diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-13 17:53:48 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-13 17:53:48 +0100 |
commit | bb44b9b4756413eceff0c3b6184ef6d921e65d16 (patch) | |
tree | ac865f686baaeb71845eda1758ebe7690c561cd5 /src/wire-plugins/plugin_wire_taler-bank.c | |
parent | e1ec7fc53c37b2c95454be49ac3b1a3f4d61627b (diff) | |
download | exchange-bb44b9b4756413eceff0c3b6184ef6d921e65d16.tar.xz |
Fix #5558.
Diffstat (limited to 'src/wire-plugins/plugin_wire_taler-bank.c')
-rw-r--r-- | src/wire-plugins/plugin_wire_taler-bank.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index 12ef82487..0cd79b2d7 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c @@ -632,6 +632,7 @@ execute_cb (void *cls, json_t *reason; const char *emsg; char *s; + uint64_t serial_id_nbo; eh->aaih = NULL; emsg = NULL; @@ -653,10 +654,15 @@ execute_cb (void *cls, "%u/%u", http_status, (unsigned int) ec); + + serial_id_nbo = GNUNET_htonll (serial_id); + eh->cc (eh->cc_cls, (MHD_HTTP_OK == http_status) ? GNUNET_OK : GNUNET_SYSERR, - serial_id, + &serial_id_nbo, + sizeof (uint64_t), (MHD_HTTP_OK == http_status) ? NULL : s); + GNUNET_free (s); GNUNET_free (eh); } |