Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2287,7 +2287,7 @@ void dcc_ident(int idx, char *buf, int len)
lostdcc(idx);
}

void eof_timeout_dcc_ident(int idx, const char *s)
static void eof_timeout_dcc_ident(int idx, const char *s)
{
char buf[7 + UHOSTLEN];
int i;
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,10 @@ static void core_secondly()
uint64_t drift_mins;

do_check_timers(&utimer); /* Secondly timers */
check_expired_dcc();
cnt++;
if (cnt >= 10) { /* Every 10 seconds */
cnt = 0;
check_expired_dcc();
if (con_chan && !backgrd) {
dprintf(DP_STDOUT, "\033[2J\033[1;1H");
if ((cliflags & CLI_N) && (cliflags & CLI_C)) {
Expand Down
Loading