commit 8bd435d7ee73bd9cfc3265e161d5e847aac1f5ee
parent e4bd4aba8d057497702151cb9c72a8ad110a3c45
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 1 May 2015 09:59:24 +0200
minor bugfixes
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/merchant/taler_merchant_serve.c b/src/merchant/taler_merchant_serve.c
@@ -811,7 +811,10 @@ handle_get_contract (struct MHD_Connection *connection,
nounce = GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_NONCE, UINT64_MAX);
/* Prepare contract */
- GNUNET_asprintf (&desc, template, hostname, port);
+ (void) GNUNET_asprintf (&desc,
+ template,
+ hostname,
+ port);
contract_id = MERCHANT_DB_contract_create (db_conn,
expiry,
&amount,
@@ -968,7 +971,7 @@ checkout_status (void *cls, int status, json_t *obj, char *emsg)
char *download_page;
char *location;
struct MHD_Response *resp;
- ssize_t size;
+ int size;
LOG_DEBUG ("Processing checkout request reply\n");
GNUNET_SCHEDULER_cancel (ctx->timeout_task);
@@ -1385,7 +1388,7 @@ build_list_product_response ()
struct Download *dwn;
size_t size;
unsigned int cnt;
- unsigned int psize;
+ int psize;
unsigned int header_size;
unsigned int footer_size;
unsigned int *partial_sizes;