Christian Grothoff <[email protected]> writes:

> Hi Alessio,
>
> Makes sense, applied.
>
> -Christian

Thank you, however I only noticed that I made a typo: in
`GNSRECORD_fini' the second if statement has an erroneus call to
`GNUNET_OS_init'.  It should use `pd', not `dpd' as argument.

Attached is a patch to fix it.

Sorry and thanks again,
A.V.

>From 535193f2c01c21e21e7d2459d815d07ce039acab Mon Sep 17 00:00:00 2001
From: Alessio Vanni <[email protected]>
Date: Wed, 15 Jul 2020 20:58:51 +0200
Subject: [PATCH] - Use correct argument in GNUNET_OS_init call

---
 src/gnsrecord/gnsrecord.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gnsrecord/gnsrecord.c b/src/gnsrecord/gnsrecord.c
index 3ce10473b..a59997934 100644
--- a/src/gnsrecord/gnsrecord.c
+++ b/src/gnsrecord/gnsrecord.c
@@ -139,7 +139,7 @@ GNSRECORD_fini ()
   GNUNET_free (gns_plugins);
 
   if (pd != dpd)
-    GNUNET_OS_init(dpd);
+    GNUNET_OS_init(pd);
 
   gns_plugins = NULL;
   once = 0;
-- 
2.26.2

Reply via email to