1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 16:57:45 +02:00
This commit is contained in:
Jfreegman 2013-11-14 19:34:40 -05:00
parent ee509a7cec
commit a0eac6a136
2 changed files with 3 additions and 3 deletions

View File

@ -389,7 +389,7 @@ static void do_file_senders(Tox *m)
close_file_sender(m, i);
}
return;
break;
}
file_senders[i].timestamp = current_time;
@ -400,7 +400,7 @@ static void do_file_senders(Tox *m)
wprintw(file_senders[i].chatwin, "File '%s' successfuly sent.\n", pathname);
tox_file_sendcontrol(m, friendnum, 0, filenum, TOX_FILECONTROL_FINISHED, 0, 0);
close_file_sender(m, i);
return;
break;
}
}
}

View File

@ -105,4 +105,4 @@ char *wc_to_char(wchar_t ch)
bool timed_out(uint64_t timestamp, uint64_t curtime, uint64_t timeout)
{
return timestamp + timeout <= curtime;
}
}