diff options
Diffstat (limited to 'src/slskd/Shares/SharedFileCache.cs')
| -rw-r--r-- | src/slskd/Shares/SharedFileCache.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Shares/SharedFileCache.cs b/src/slskd/Shares/SharedFileCache.cs index fbd47a5d..1c2b61aa 100644 --- a/src/slskd/Shares/SharedFileCache.cs +++ b/src/slskd/Shares/SharedFileCache.cs @@ -274,7 +274,7 @@ namespace slskd.Shares RecurseSubdirectories = false, }); - addedFiles = newFiles.Count(); + addedFiles = newFiles.Length; // merge the new dictionary with the rest this will overwrite any duplicate keys, but keys are the fully // qualified name the only time this *should* cause problems is if one of the shares is a subdirectory of another. |
