Fixed handling for Content_Type "application/folder" in SelectiveSync and other locations
[pithos-ms-client] / trunk / Pithos.Core / Agents / PollAgent.cs
index 99f8e81..3483559 100644 (file)
@@ -469,7 +469,7 @@ namespace Pithos.Core.Agents
                 {\r
                     var localFile = fileAgent.GetFileSystemInfo(relativePath);\r
                     //We don't need to sync directories\r
-                    if (objectInfo.Content_Type == @"application/directory" && localFile is DirectoryInfo)\r
+                    if (objectInfo.IsDirectory && localFile is DirectoryInfo)\r
                         continue;\r
                     using (new SessionScope(FlushAction.Never))\r
                     {\r