Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
Found by: michaelortmann
Patch by: michaelortmann
  • Loading branch information
michaelortmann authored and vanosg committed Oct 6, 2019
1 parent 79c0553 commit 1b58814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcldcc.c
Expand Up @@ -670,7 +670,7 @@ static int tcl_dcclist STDVAR
} }
list[0] = idxstr; list[0] = idxstr;
list[1] = dcc[i].nick; list[1] = dcc[i].nick;
list[2] = (dcc[i].host == NULL || dcc[i].host[0] == '\0') ? list[2] = (dcc[i].host[0] == '\0') ?
iptostr(&dcc[i].sockname.addr.sa) : dcc[i].host; iptostr(&dcc[i].sockname.addr.sa) : dcc[i].host;
#ifdef TLS #ifdef TLS
egg_snprintf(portstring, sizeof portstring, "%s%d", dcc[i].ssl ? "+" : "", dcc[i].port); egg_snprintf(portstring, sizeof portstring, "%s%d", dcc[i].ssl ? "+" : "", dcc[i].port);
Expand Down

0 comments on commit 1b58814

Please sign in to comment.