From: Nick Mathewson Date: Tue, 26 Sep 2017 16:25:07 +0000 (-0400) Subject: Make the TransProxyType field non-const X-Git-Tag: tor-0.3.2.2-alpha~35^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5b18dfba9752d9785172dc814802c482cc77f0e;p=thirdparty%2Ftor.git Make the TransProxyType field non-const The correct type for a STRING confparse value is char *, not const char *. --- diff --git a/src/or/or.h b/src/or/or.h index 84913efc4d..5bd07ba6a3 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3704,8 +3704,8 @@ typedef struct { config_line_t *SocksPort_lines; /** Ports to listen on for transparent pf/netfilter connections. */ config_line_t *TransPort_lines; - const char *TransProxyType; /**< What kind of transparent proxy - * implementation are we using? */ + char *TransProxyType; /**< What kind of transparent proxy + * implementation are we using? */ /** Parsed value of TransProxyType. */ enum { TPT_DEFAULT,