changeset 1099:4b21d9067162

Turn sendaddr, listenaddr and request_listenaddr local variables into char *
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 15:09:05 +0200
parents f95b6e87cd0c
children 7b84c3492a95
files tcpfwd.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;