File: check_domain.patch

package info (click to toggle)
opendmarc 1.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,676 kB
  • sloc: xml: 291,627; ansic: 14,115; perl: 2,384; sh: 460; makefile: 212; python: 58
file content (22 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_B=C3=BCrgin?= <dbuergin@gluet.ch>
Date: Tue, 18 Jan 2022 11:57:01 -0500
Subject: Make function check_domain static

Bug: https://github.com/trusteddomainproject/OpenDMARC/pull/177
---
 libopendmarc/opendmarc_policy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libopendmarc/opendmarc_policy.c b/libopendmarc/opendmarc_policy.c
index 32053db..c864906 100644
--- a/libopendmarc/opendmarc_policy.c
+++ b/libopendmarc/opendmarc_policy.c
@@ -35,7 +35,7 @@
 **  	TRUE if the syntax was fine, FALSE otherwise.
 */
 
-bool check_domain(u_char *domain)
+static bool check_domain(u_char *domain)
 {
 	u_char *dp;