From 2cb6279a72a2bccbf3fc2aca1224175949ee54bd Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Fri, 11 Jun 2010 07:24:06 +0000 Subject: [PATCH] fix daemon build on platforms without inotify --- daemon/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/watch.c b/daemon/watch.c index de2f03998..d76857935 100644 --- a/daemon/watch.c +++ b/daemon/watch.c @@ -207,7 +207,7 @@ watchdir_update_impl( dtr_watchdir * w ) if( !name || *name=='.' ) /* skip dotfiles */ continue; - if( !str_has_suffix( name, ".torrent" ) ) /* skip non-torrents */ + if( !tr_str_has_suffix( name, ".torrent" ) ) /* skip non-torrents */ continue; len = strlen( name );