Permalink
Browse files

Add + when using TLS for TELNET in Tcl dcclist. Closes #555

Found by: maimizuno
Patch by: maimizuno
Closes: #555
  • Loading branch information...
Cizzle authored and vanosg committed Dec 4, 2018
1 parent d392e7f commit 23f8187bbfffc8c9d008a7e8ba55962acecb6cfc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dcc.c
@@ -1431,7 +1431,7 @@ static void eof_dcc_telnet(int idx)
static void display_telnet(int idx, char *buf)
{
sprintf(buf, "lstn %d%s", dcc[idx].port,
sprintf(buf, "lstn %s%d%s", dcc[idx].ssl ? "+" : "", dcc[idx].port,
(dcc[idx].status & LSTN_PUBLIC) ? " pub" : "");
}

0 comments on commit 23f8187

Please sign in to comment.