Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Jan 23, 2017
1 parent e1195a0 commit e0b6943
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/botcmd.c
Expand Up @@ -1035,7 +1035,7 @@ static void bot_motd(int idx, char *par)
botnet_send_priv(idx, botnetnick, who, NULL, "%s", s);
}
} else {
putlog(LOG_DEBUG, "*", "Error reading MOTD file");
putlog(LOG_DEBUG, "*", "Error reading MOTD file");
}
}
fclose(vv);
Expand Down
2 changes: 1 addition & 1 deletion src/dcc.c
Expand Up @@ -1345,7 +1345,7 @@ static void dcc_telnet_hostresolved(int i)
dcc_telnet_got_ident(i, userhost);
return;
}

changeover_dcc(i, &DCC_IDENTWAIT, 0);
dcc[i].timeval = now;
dcc[i].u.ident_sock = dcc[idx].sock;
Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Expand Up @@ -1159,10 +1159,10 @@ int main(int arg_c, char **arg_v)
printf("Error renaming stdin file handle");
}
if (freopen("/dev/null", "w", stdout) != NULL) {
printf("Error renaming stdout file handle");
printf("Error renaming stdout file handle");
}
if (freopen("/dev/null", "w", stderr) != NULL) {
printf("Error renaming stderr file handle");
printf("Error renaming stderr file handle");
}
#ifdef CYGWIN_HACKS
FreeConsole();
Expand Down
2 changes: 1 addition & 1 deletion src/misc.c
Expand Up @@ -1086,7 +1086,7 @@ static void scan_help_file(struct help_ref *current, char *filename, int type)
}
}
} else {
putlog(LOG_DEBUG, "*", "Error reading help file");
putlog(LOG_DEBUG, "*", "Error reading help file");
}
}
fclose(f);
Expand Down
4 changes: 2 additions & 2 deletions src/net.c
Expand Up @@ -190,7 +190,7 @@ int setsockname(sockname_t *addr, char *src, int port, int allowres)
addr->addr.s4.sin_family = AF_INET;
}
#else
int i, count;
int i, count;

egg_bzero(addr, sizeof(sockname_t));

Expand Down Expand Up @@ -667,7 +667,7 @@ int getdccaddr(sockname_t *addr, char *s, size_t l)
* If addr is not NULL, it should point to the listening socket's address.
* Otherwise, this function will try to figure out the public address of the
* machine, using listen_ip and natip. If restrict_af is set, it will limit
* the possible IPs to the specified family. The result is a string useable
* the possible IPs to the specified family. The result is a string useable
* for DCC requests
*/
int getdccfamilyaddr(sockname_t *addr, char *s, size_t l, int restrict_af)
Expand Down

0 comments on commit e0b6943

Please sign in to comment.