summaryrefslogtreecommitdiffstats
path: root/recursive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'recursive.cc')
-rw-r--r--recursive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recursive.cc b/recursive.cc
index aaf84d7..a6e9317 100644
--- a/recursive.cc
+++ b/recursive.cc
@@ -45,7 +45,7 @@ bool test_full_name( const std::string & full_name, const struct stat * stp,
if( !S_ISDIR( st.st_mode ) ) return false;
std::string prev_dir( full_name );
- bool loop = ( stp && st.st_ino == stp->st_ino && st.st_dev == stp->st_dev );
+ bool loop = stp && st.st_ino == stp->st_ino && st.st_dev == stp->st_dev;
if( !loop )
for( unsigned i = prev_dir.size(); i > 1; )
{