[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: non-existing sessio
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: non-existing session info is not supposed to be an error |
Date: |
Mon, 26 Aug 2019 00:12:22 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 4dd2fd8 non-existing session info is not supposed to be an error
4dd2fd8 is described below
commit 4dd2fd82dd8dc24dd53f33cb3d48da175ed90108
Author: Florian Dold <address@hidden>
AuthorDate: Mon Aug 26 00:12:19 2019 +0200
non-existing session info is not supposed to be an error
---
src/backend/taler-merchant-httpd_check-payment.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_check-payment.c
b/src/backend/taler-merchant-httpd_check-payment.c
index 9ca445b..f001195 100644
--- a/src/backend/taler-merchant-httpd_check-payment.c
+++ b/src/backend/taler-merchant-httpd_check-payment.c
@@ -89,6 +89,9 @@ send_pay_request (struct MHD_Connection *connection,
char *url;
char *already_paid_order_id = NULL;
+ /* Check if resource_id has been paid for in the same session
+ * with another order_id.
+ */
if ( (NULL != session_id) && (NULL != resource_url) )
{
qs = db->find_session_info (db->cls,
@@ -96,7 +99,7 @@ send_pay_request (struct MHD_Connection *connection,
session_id,
resource_url,
&mi->pubkey);
- if (0 > qs)
+ if (qs < 0)
{
/* single, read-only SQL statements should never cause
serialization problems */
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: non-existing session info is not supposed to be an error,
gnunet <=