[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 03/09: Fix compiler warning URI records & Resource leaks
From: |
gnunet |
Subject: |
[gnunet] 03/09: Fix compiler warning URI records & Resource leaks |
Date: |
Thu, 07 Dec 2023 15:51:12 +0100 |
This is an automated email from the git hooks/post-receive script.
sebi pushed a commit to branch master
in repository gnunet.
commit 241179d6bab21ace23b27d9fa47352295483e2d6
Author: Sebastian Nadler <sebastian.nadler@tum.de>
AuthorDate: Sun Dec 3 15:32:54 2023 +0100
Fix compiler warning URI records & Resource leaks
---
src/plugin/gnsrecord/plugin_gnsrecord_dns.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/plugin/gnsrecord/plugin_gnsrecord_dns.c
b/src/plugin/gnsrecord/plugin_gnsrecord_dns.c
index 09595eafc..94b2686a1 100644
--- a/src/plugin/gnsrecord/plugin_gnsrecord_dns.c
+++ b/src/plugin/gnsrecord/plugin_gnsrecord_dns.c
@@ -672,9 +672,9 @@ dns_string_to_value (void *cls,
off = 0;
// TODO add more precise uri checking (RFC3986)
- if (strstr (target, ":") == NULL || target[0] == 58 || target[strlen (
- target)
- - 1] == 58)
+ if (strstr (target, ":") == NULL ||
+ target[0] == 58 ||
+ target[strlen (target) - 1] == 58)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_ ("Failed to serialize URI record with target `%s'\n"),
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated (f88e07fcc -> ee105432a), gnunet, 2023/12/07
- [gnunet] 03/09: Fix compiler warning URI records & Resource leaks,
gnunet <=
- [gnunet] 04/09: improved readability, gnunet, 2023/12/07
- [gnunet] 02/09: Fix compiler warning URI records & Resource leaks, gnunet, 2023/12/07
- [gnunet] 07/09: Fix in DNS parser, gnunet, 2023/12/07
- [gnunet] 01/09: GANA protocol & service-port numbers, gnunet, 2023/12/07
- [gnunet] 06/09: Fix memory leaks in resolver_lookup_get_next_label() function, gnunet, 2023/12/07
- [gnunet] 09/09: Refactor resolver_getprotobyname and resolver_getservbyname functions, gnunet, 2023/12/07
- [gnunet] 05/09: Fix memory leaks in resolver_lookup_get_next_label() function, gnunet, 2023/12/07
- [gnunet] 08/09: Uncrustify, gnunet, 2023/12/07