mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
changed warning about not applying finder file type to a trace statement
This commit is contained in:
parent
0e235423a7
commit
f15caf93f5
1 changed files with 2 additions and 2 deletions
|
|
@ -261,9 +261,9 @@ static OSStatus SymlinkPathMakeRef(const UInt8 *path, FSRef *ref, Boolean *isDir
|
|||
- (BOOL)applyFinderFileType:(NSString *)fft finderFileCreator:(NSString *)ffc error:(NSError **)error {
|
||||
if (targetExists && (![fft isEqualToString:finderFileType] || ![ffc isEqualToString:finderFileCreator])) {
|
||||
if ([fft length] != 4) {
|
||||
HSLogWarn(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", fft, path);
|
||||
HSLogTrace(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", fft, path);
|
||||
} else if ([ffc length] != 4) {
|
||||
HSLogWarn(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", ffc, path);
|
||||
HSLogTrace(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", ffc, path);
|
||||
} else {
|
||||
FSRef fsRef;
|
||||
Boolean isDirectory;
|
||||
|
|
|
|||
Loading…
Reference in a new issue