Using MD5 to quickly check for local modifications before calculating the expensive...
[pithos-ms-client] / trunk / Pithos.Core / Agents / Downloader.cs
index 5b76a74..e87c455 100644 (file)
@@ -321,7 +321,7 @@ namespace Pithos.Core.Agents
             if (localState.ShortHash != shortHash)\r
                 return true;\r
             //If the top hashes differ, we have a change\r
-            return (localState.Checksum != cloudFile.Hash);\r
+            return (localState.Checksum != cloudFile.X_Object_Hash);\r
         }\r
 \r
         private static FileAgent GetFileAgent(AccountInfo accountInfo)\r