Replaced RestClient with HttpClient in PostBlock
[pithos-ms-client] / trunk / Pithos.Core / Agents / Uploader.cs
index 5696866..222fbb8 100644 (file)
@@ -377,7 +377,7 @@ namespace Pithos.Core.Agents
                     try\r
                     {\r
                         //And upload the block                \r
-                        await client.PostBlock(account, container, buffer, 0, read, token).ConfigureAwait(false);\r
+                        await client.PostBlock(account, container, buffer, 0, read,missingHash, token).ConfigureAwait(false);\r
                         token.ThrowIfCancellationRequested();\r
                         Log.InfoFormat("[BLOCK] Block {0} of {1} uploaded", blockIndex, fullFileName);\r
                     }\r