gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated (7fa67030 -> 8868952


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated (7fa67030 -> 88689527)
Date: Sun, 12 May 2019 22:20:40 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch master
in repository exchange.

    from 7fa67030 hack in bank-lib compression
     new 3709cded gitignore
     new 88689527 bank-lib: fix context

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                    | 1 +
 src/bank-lib/bank_api_admin.c | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6f7a0258..ac8018a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
 *app.info
 *.gcno
 *.gcda
+.dirstamp
 doc/coverage/
 doc/taler-exchange.cps
 aclocal.m4
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index d019a7e1..b04d3e9a 100644
--- a/src/bank-lib/bank_api_admin.c
+++ b/src/bank-lib/bank_api_admin.c
@@ -41,7 +41,7 @@ struct TALER_BANK_AdminAddIncomingHandle
   /**
    * POST context.
    */
-  struct TEAH_PostContext *post_ctx;
+  struct TEAH_PostContext post_ctx;
 
   /**
    * Handle for the request.
@@ -221,7 +221,7 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context 
*ctx,
   eh = curl_easy_init ();
 
   GNUNET_assert (GNUNET_OK ==
-                 TEAH_curl_easy_post (aai->post_ctx, eh, admin_obj));
+                 TEAH_curl_easy_post (&aai->post_ctx, eh, admin_obj));
 
   json_decref (admin_obj);
 
@@ -253,6 +253,7 @@ TALER_BANK_admin_add_incoming_cancel (struct 
TALER_BANK_AdminAddIncomingHandle *
     GNUNET_CURL_job_cancel (aai->job);
     aai->job = NULL;
   }
+  TEAH_curl_easy_post_finished (&aai->post_ctx);
   GNUNET_free (aai->request_url);
   GNUNET_free (aai);
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]