[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: slash termination in the right p
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: slash termination in the right place |
Date: |
Tue, 08 Sep 2020 14:01:18 +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 714b111 slash termination in the right place
714b111 is described below
commit 714b111f6c99157537f19a454ad3118e4e8d097e
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Sep 8 17:31:11 2020 +0530
slash termination in the right place
---
src/backend/taler-merchant-httpd_get-tips-ID.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-tips-ID.c
b/src/backend/taler-merchant-httpd_get-tips-ID.c
index 9eb0b85..75d1333 100644
--- a/src/backend/taler-merchant-httpd_get-tips-ID.c
+++ b/src/backend/taler-merchant-httpd_get-tips-ID.c
@@ -90,11 +90,12 @@ TMH_make_taler_tip_uri (struct MHD_Connection *con,
GNUNET_buffer_write_path (&buf,
instance_id);
}
+ /* Ensure previous part is slash-terminated */
+ GNUNET_buffer_write_path (&buf,
+ "");
GNUNET_buffer_write_data_encoded (&buf,
tip_id,
sizeof (*tip_id));
- GNUNET_buffer_write_str (&buf,
- "/");
return GNUNET_buffer_reap_str (&buf);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: slash termination in the right place,
gnunet <=