Skip to content

Commit

Permalink
Fix problem on OSX due to refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent ba3ede5 commit 9ee3b5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/findlib/find_one.c
Expand Up @@ -421,6 +421,8 @@ static inline int process_hfsattributes(JCR *jcr, FF_PKT *ff_pkt,
ff_pkt->ff_errno = errno;
return handle_file(jcr, ff_pkt, top_level);
}

return -1;
}
#endif

Expand Down Expand Up @@ -968,7 +970,10 @@ int find_one_file(JCR *jcr, FF_PKT *ff_pkt,
if (ff_pkt->flags & FO_HFSPLUS &&
ff_pkt->volhas_attrlist &&
S_ISREG(ff_pkt->statp.st_mode)) {
return process_hfsattributes(jcr, ff_pkt, handle_file, fname, top_level);
rtn_stat = process_hfsattributes(jcr, ff_pkt, handle_file, fname, top_level);
if (rtn_stat != -1) {
return rtn_stat;
}
}
#endif

Expand Down

0 comments on commit 9ee3b5e

Please sign in to comment.