libresman

diff src/resman.c @ 23:f8e5a1491275

win32 file change notification attempt1 (failed)
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 13 Feb 2014 13:17:07 +0200
parents 174ddb6bf92a
children
line diff
     1.1 --- a/src/resman.c	Wed Feb 12 22:32:30 2014 +0200
     1.2 +++ b/src/resman.c	Thu Feb 13 13:17:07 2014 +0200
     1.3 @@ -313,9 +313,7 @@
     1.4  			}
     1.5  		} else {
     1.6  			/* succeded, start a watch */
     1.7 -			if(res->nfd <= 0) {
     1.8 -				resman_start_watch(rman, res);
     1.9 -			}
    1.10 +			resman_start_watch(rman, res);
    1.11  		}
    1.12  	} else {
    1.13  		/* if we have a done_func, mark this resource as done */