diff options
author | George Hazan <ghazan@miranda.im> | 2023-01-10 19:56:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-01-10 19:56:07 +0300 |
commit | 83278f1c0a1b12b349617b7ebc5583be17e69daa (patch) | |
tree | f5863e19205001f10900ab4db08c837ddd675908 /protocols/Tox | |
parent | 1a8dfc0c29543cb24bc5bb1c66a6e8ad964b88f3 (diff) |
code cleaning
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/src/tox_avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp index ca5c7d40a5..5e30c5c442 100644 --- a/protocols/Tox/src/tox_avatars.cpp +++ b/protocols/Tox/src/tox_avatars.cpp @@ -196,7 +196,7 @@ void CToxProto::OnGotFriendAvatarInfo(Tox *tox, AvatarTransferParam *transfer) transfers.Remove(transfer);
delSetting(hConact, TOX_SETTINGS_AVATAR_HASH);
- ProtoBroadcastAck(hConact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, nullptr, 0);
+ ProtoBroadcastAck(hConact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, nullptr);
return;
}
@@ -227,6 +227,6 @@ void CToxProto::OnGotFriendAvatarData(AvatarTransferParam *transfer) fclose(transfer->hFile);
transfer->hFile = nullptr;
- ProtoBroadcastAck(transfer->pfts.hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, (HANDLE)&ai, 0);
+ ProtoBroadcastAck(transfer->pfts.hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, &ai);
transfers.Remove(transfer);
}
|