branch | trunk |
changeset 32 | cea1b4f741be |
parent 29 | 640ce9201139 |
child 34 | afc13760179b |
1.1 --- a/data.c Sat Oct 24 11:20:45 2009 +0800 1.2 +++ b/data.c Sat Oct 24 11:31:53 2009 +0800 1.3 @@ -124,9 +124,8 @@ 1.4 if(S_ISDIR(st.st_mode)) { 1.5 if(type==stFile && recursiv) { 1.6 char *s=aprintf(subdir ? "%2$s/%1$s":"%s",e->d_name,subdir); 1.7 - res=ScanDir(src,s,type,spec,excl,recursiv); 1.8 + ScanDir(src,s,type,spec,excl,recursiv); 1.9 free(s); 1.10 - if(!res) break; 1.11 continue; 1.12 } 1.13 if(type!=stDir) continue;