Revision 92740b03 trunk/Pithos.Core/Agents/SelectiveUris.cs

b/trunk/Pithos.Core/Agents/SelectiveUris.cs
64 64
        public bool IsSelected(ObjectInfo info)
65 65
        {
66 66
            //Shared folders should NOT be synced if selective syncing is disabled
67
            var isShared = info.IsShared;
67
            var isShared = info.IsShared??false;
68
            if (info.StorageUri == null)
69
                return true;
68 70
            var selectiveEnabled = IsSelectiveEnabled(info.AccountKey);
69 71
            if (!selectiveEnabled)
70 72
                return !isShared;

Also available in: Unified diff