SF.net SVN: gar:[26950] csw/mgar/pkg/unbound/trunk/files/ 0001-Fix-verbose-EDE-error-printout.patch

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Tue Jul 12 20:53:17 CEST 2022


Revision: 26950
          http://sourceforge.net/p/gar/code/26950
Author:   idogan23
Date:     2022-07-12 18:53:17 +0000 (Tue, 12 Jul 2022)
Log Message:
-----------
unbound: Fix verbose EDE error printout

Added Paths:
-----------
    csw/mgar/pkg/unbound/trunk/files/0001-Fix-verbose-EDE-error-printout.patch

Added: csw/mgar/pkg/unbound/trunk/files/0001-Fix-verbose-EDE-error-printout.patch
===================================================================
--- csw/mgar/pkg/unbound/trunk/files/0001-Fix-verbose-EDE-error-printout.patch	                        (rev 0)
+++ csw/mgar/pkg/unbound/trunk/files/0001-Fix-verbose-EDE-error-printout.patch	2022-07-12 18:53:17 UTC (rev 26950)
@@ -0,0 +1,25 @@
+From d584cf8fbf1e5756fd7baa4faab531a58b2309ce Mon Sep 17 00:00:00 2001
+From: Ihsan Dogan <ihsan at opencsw.org>
+Date: Tue, 12 Jul 2022 20:52:19 +0200
+Subject: [PATCH] Fix verbose EDE error printout
+
+---
+ util/data/msgreply.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/util/data/msgreply.c b/util/data/msgreply.c
+index e3ee607..1e6ee97 100644
+--- a/util/data/msgreply.c
++++ b/util/data/msgreply.c
+@@ -1015,7 +1015,7 @@ int edns_opt_list_append_ede(struct edns_option** list, struct regional* region,
+ 	prevp = list;
+ 	while(*prevp != NULL)
+ 		prevp = &((*prevp)->next);
+-	verbose(VERB_ALGO, "attached EDE code: %d with message: %s", code, txt);
++	verbose(VERB_ALGO, "attached EDE code: %d with message: %s", code, (txt?txt:"\"\""));
+ 	*prevp = opt;
+ 	return 1;
+ }
+-- 
+2.4.0
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list