comparison tcp-accept.c @ 433:c216212001fc

Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness and trailing-comma-in-array issues
author Matt Johnston <matt@ucc.asn.au>
date Fri, 16 Feb 2007 14:42:08 +0000
parents a124aff0cbf1
children 69e98c45db7c
comparison
equal deleted inserted replaced
432:517e76bdfb2d 433:c216212001fc
102 char portstring[NI_MAXSERV]; 102 char portstring[NI_MAXSERV];
103 int socks[DROPBEAR_MAX_SOCKS]; 103 int socks[DROPBEAR_MAX_SOCKS];
104 struct Listener *listener = NULL; 104 struct Listener *listener = NULL;
105 int nsocks; 105 int nsocks;
106 char* errstring = NULL; 106 char* errstring = NULL;
107 // listen_spec = NULL indicates localhost 107 /* listen_spec = NULL indicates localhost */
108 const char* listen_spec = NULL; 108 const char* listen_spec = NULL;
109 109
110 TRACE(("enter listen_tcpfwd")) 110 TRACE(("enter listen_tcpfwd"))
111 111
112 /* first we try to bind, so don't need to do so much cleanup on failure */ 112 /* first we try to bind, so don't need to do so much cleanup on failure */