# HG changeset patch # User Gaƫl PORTAY # Date 1430572145 -7200 # Node ID 4b21d90671629446948747792b41afe46a7d1abb # Parent f95b6e87cd0cfb4ab2cad7f4f78687e92cffad97 Turn sendaddr, listenaddr and request_listenaddr local variables into char * diff -r f95b6e87cd0c -r 4b21d9067162 tcpfwd.h --- a/tcpfwd.h Sat May 02 14:56:57 2015 +0200 +++ b/tcpfwd.h Sat May 02 15:09:05 2015 +0200 @@ -31,16 +31,16 @@ /* For a direct-tcpip request, it's the addr/port we want the other * end to connect to */ - unsigned char *sendaddr; + char *sendaddr; unsigned int sendport; /* This is the address/port that we listen on. The address has special * meanings as per the rfc, "" for all interfaces, "localhost" for * localhost, or a normal interface name. */ - unsigned char *listenaddr; + char *listenaddr; unsigned int listenport; /* The address that the remote host asked to listen on */ - unsigned char *request_listenaddr; + char *request_listenaddr; const struct ChanType *chantype; enum {direct, forwarded} tcp_type;