=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/Attic/file.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- src/usr.bin/aucat/Attic/file.c 2011/03/15 10:31:31 1.24 +++ src/usr.bin/aucat/Attic/file.c 2011/06/02 16:58:02 1.25 @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.24 2011/03/15 10:31:31 okan Exp $ */ +/* $OpenBSD: file.c,v 1.25 2011/06/02 16:58:02 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -299,7 +299,7 @@ struct timespec ts; long delta_nsec; - if (LIST_EMPTY(&file_list)) { + if (LIST_EMPTY(&file_list) && timo_queue == NULL) { #ifdef DEBUG if (debug_level >= 3) dbg_puts("nothing to do...\n"); @@ -483,7 +483,7 @@ file_del(f); f = fnext; } - if (LIST_EMPTY(&file_list)) { + if (LIST_EMPTY(&file_list) && timo_queue == NULL) { #ifdef DEBUG if (debug_level >= 3) dbg_puts("no files anymore...\n");