gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 04/09: improved readability


From: gnunet
Subject: [gnunet] 04/09: improved readability
Date: Thu, 07 Dec 2023 15:51:13 +0100

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

sebi pushed a commit to branch master
in repository gnunet.

commit db896ea3139decefb7ab642cbaf72c123b8b07ad
Author: Sebastian Nadler <sebastian.nadler@tum.de>
AuthorDate: Sun Dec 3 21:07:26 2023 +0100

    improved readability
---
 src/lib/util/dnsparser.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/util/dnsparser.c b/src/lib/util/dnsparser.c
index 5dc6dcf5b..a698ebbc6 100644
--- a/src/lib/util/dnsparser.c
+++ b/src/lib/util/dnsparser.c
@@ -1260,7 +1260,8 @@ GNUNET_DNSPARSER_builder_add_uri (char *dst,
   (*off) += sizeof(sd);
   strncpy(&dst[*off], uri->target, dst_len - sizeof(struct 
GNUNET_TUN_DnsUriRecord) - 1);
   (*off) += strlen(uri->target);
-  dst[*off++] = '\0'; 
+  dst[*off] = '\0';
+  *off++;
   return GNUNET_OK;
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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