summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MSN/src/skylogin/login.c5
-rw-r--r--protocols/Tox/src/tox_network.cpp2
2 files changed, 2 insertions, 5 deletions
diff --git a/protocols/MSN/src/skylogin/login.c b/protocols/MSN/src/skylogin/login.c
index b7931390b2..406ebe279e 100644
--- a/protocols/MSN/src/skylogin/login.c
+++ b/protocols/MSN/src/skylogin/login.c
@@ -284,7 +284,7 @@ static int SendAuthentificationBlobLS(Skype_Inst *pInst, LSConnection *pConn, co
ObjOauth.Family = OBJ_FAMILY_STRING;
ObjOauth.Id = OBJ_ID_OAUTH;
ObjOauth.Value.Memory.Memory = (uchar *)User;
- ObjOauth.Value.Memory.MsZ = strlen(User);
+ ObjOauth.Value.Memory.MsZ = (ulong)strlen(User);
WriteObject(&Browser, ObjOauth);
ObjVer.Family = OBJ_FAMILY_STRING;
@@ -343,9 +343,6 @@ static int SendAuthentificationBlobLS(Skype_Inst *pInst, LSConnection *pConn, co
ManageObjects(&Browser, BSize, &Response);
for (Idx = 0; Idx < Response.NbObj; Idx++)
{
- uint LdIdx = 0;
-
-
switch (Response.Objs[Idx].Id)
{
case OBJ_ID_LOGINANSWER:
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 7ae6d1613c..e895f04dde 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -131,7 +131,7 @@ void CToxProto::BootstrapNodesFromJson(CToxThread *toxThread, bool isIPv6)
void CToxProto::BootstrapNodes(CToxThread *toxThread)
{
debugLogA(__FUNCTION__": bootstraping DHT");
- bool isUdp = getBool("EnableUDP", 1);
+ // bool isUdp = getBool("EnableUDP", 1);
bool isIPv6 = getBool("EnableIPv6", 0);
BootstrapNodesFromDb(toxThread, isIPv6);
BootstrapNodesFromJson(toxThread, isIPv6);