[SHELLBTRFS] Upgrade to 1.0.2

CORE-14655
This commit is contained in:
Pierre Schweitzer 2018-05-26 10:58:48 +02:00
parent c7806a6b29
commit 2da53310a4
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
6 changed files with 19 additions and 10 deletions

View file

@ -157,7 +157,7 @@ DWORD BtrfsSend::Thread() {
goto end2;
}
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(BTRFS_SEND_MAGIC));
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(header.magic));
header.version = 1;
if (!WriteFile(stream, &header, sizeof(header), NULL, NULL)) {
@ -654,7 +654,7 @@ static void send_subvol(std::wstring subvol, std::wstring file, std::wstring par
if (!NT_SUCCESS(Status))
goto end2;
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(BTRFS_SEND_MAGIC));
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(header.magic));
header.version = 1;
if (!WriteFile(stream, &header, sizeof(header), NULL, NULL))