[Privoxy-commits] [privoxy] 04/05: Fix compilation when configured with --disable-ipv6-support

User Git git at git.privoxy.org
Thu Nov 27 14:07:43 CET 2025


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

git pushed a commit to branch master
in repository privoxy.

commit 7c56336db160802641bd099241f84885f2ef49fc
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Nov 27 13:58:28 2025 +0100

    Fix compilation when configured with --disable-ipv6-support
    
    Submitted by Luca Broglio.
---
 filters.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/filters.c b/filters.c
index d3b3b1ab..04fa77fa 100644
--- a/filters.c
+++ b/filters.c
@@ -342,9 +342,11 @@ int acl_addr(const char *aspec, struct access_control_addr *aca)
    char *p;
    char *acl_spec = NULL;
 
+#ifdef HAVE_RFC2553
    mask_data = NULL;
    mask_port = NULL;
    addr_len = 0;
+#endif
 
 #ifdef HAVE_RFC2553
    /* XXX: Depend on ai_family */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list