1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

fix daemon build on platforms without inotify

This commit is contained in:
Eric Petit 2010-06-11 07:24:06 +00:00
parent 462e473410
commit 2cb6279a72

View file

@ -207,7 +207,7 @@ watchdir_update_impl( dtr_watchdir * w )
if( !name || *name=='.' ) /* skip dotfiles */ if( !name || *name=='.' ) /* skip dotfiles */
continue; continue;
if( !str_has_suffix( name, ".torrent" ) ) /* skip non-torrents */ if( !tr_str_has_suffix( name, ".torrent" ) ) /* skip non-torrents */
continue; continue;
len = strlen( name ); len = strlen( name );