Skip to content

Commit

Permalink
Remove unused var in filesys.mod.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cizzle committed Sep 2, 2017
1 parent 953824a commit bff20de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mod/filesys.mod/filesys.c
Expand Up @@ -734,11 +734,10 @@ static char *mktempfile(char *filename)

static void filesys_dcc_send_hostresolved(int i)
{
char *s1, *param, prt[100], ip[100], *tempf;
char *s1, *param, prt[100], *tempf;
int len = dcc[i].u.dns->ibuf, j;

sprintf(prt, "%d", dcc[i].port);
sprintf(ip, "%lu", iptolong(htonl(dcc[i].addr)));
if (!hostsanitycheck_dcc(dcc[i].nick, dcc[i].u.dns->host, &dcc[i].sockname,
dcc[i].u.dns->host, prt)) {
lostdcc(i);
Expand Down

0 comments on commit bff20de

Please sign in to comment.