Skip to content

Commit

Permalink
Add + when using TLS for TELNET in Tcl dcclist. Closes #555
Browse files Browse the repository at this point in the history
Found by: maimizuno
Patch by: maimizuno
Closes: #555
  • Loading branch information
Cizzle authored and vanosg committed Dec 4, 2018
1 parent d392e7f commit 23f8187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" : "");
}

Expand Down

0 comments on commit 23f8187

Please sign in to comment.