Fix for files announce timeout

This commit is contained in:
Michiel Broek 2002-01-30 18:48:26 +00:00
parent 5640662748
commit e2f0391f80

View File

@ -129,7 +129,6 @@ void Uploads()
if (CFG.slow_util && do_quiet) if (CFG.slow_util && do_quiet)
usleep(1); usleep(1);
Nopper();
if ((area.Available) && strlen(area.NewGroup)) { if ((area.Available) && strlen(area.NewGroup)) {
if (!do_quiet) { if (!do_quiet) {
@ -141,6 +140,7 @@ void Uploads()
if ((pFile = fopen(fAreas, "r+")) != NULL) { if ((pFile = fopen(fAreas, "r+")) != NULL) {
while (fread(&file, sizeof(file), 1, pFile) == 1) { while (fread(&file, sizeof(file), 1, pFile) == 1) {
Nopper();
if (!file.Announced) { if (!file.Announced) {
Syslog('m', " %d %s", i, file.Name); Syslog('m', " %d %s", i, file.Name);
memset(&T_File, 0, sizeof(T_File)); memset(&T_File, 0, sizeof(T_File));