comparison cli-tcpfwd.c @ 857:c19acba28590

use oldstyle comments
author Matt Johnston <matt@ucc.asn.au>
date Thu, 14 Nov 2013 22:03:30 +0800
parents af304deacb4c
children 115f8a3c2d5a
comparison
equal deleted inserted replaced
856:f56c41030c15 857:c19acba28590
191 191
192 for (iter = cli_opts.remotefwds->first; iter; iter = iter->next) { 192 for (iter = cli_opts.remotefwds->first; iter; iter = iter->next) {
193 struct TCPFwdEntry *fwd = (struct TCPFwdEntry*)iter->item; 193 struct TCPFwdEntry *fwd = (struct TCPFwdEntry*)iter->item;
194 if (!fwd->listenaddr) 194 if (!fwd->listenaddr)
195 { 195 {
196 // we store the addresses so that we can compare them 196 /* we store the addresses so that we can compare them
197 // when the server sends them back 197 when the server sends them back */
198 if (opts.listen_fwd_all) { 198 if (opts.listen_fwd_all) {
199 fwd->listenaddr = m_strdup(""); 199 fwd->listenaddr = m_strdup("");
200 } else { 200 } else {
201 fwd->listenaddr = m_strdup("localhost"); 201 fwd->listenaddr = m_strdup("localhost");
202 } 202 }