diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-26 20:42:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-26 20:42:04 +0300 |
commit | 7178a1cab5b35a8e5bac3e7d367c3d72e72ec7e6 (patch) | |
tree | 07c38891bed8ca3a6f06029cb1b5b5df02cbb99c /protocols/EmLanProto/src/lan.cpp | |
parent | 4da9b39a6219cecfe5486d392e94648cd84d5f30 (diff) |
EMLanProto:
- plugin converted into Unicode;
- fixes #933 (E-mage LAN - new function - directly IP for companion);
- fixes utf8 autodetect in messages
- version bump
Diffstat (limited to 'protocols/EmLanProto/src/lan.cpp')
-rw-r--r-- | protocols/EmLanProto/src/lan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/EmLanProto/src/lan.cpp b/protocols/EmLanProto/src/lan.cpp index 336e64bb75..301e2a8284 100644 --- a/protocols/EmLanProto/src/lan.cpp +++ b/protocols/EmLanProto/src/lan.cpp @@ -191,7 +191,7 @@ void CLan::SendPacket(in_addr addr, const u_char* mes, int len) addrTo.sin_addr = addr;
addrTo.sin_family = AF_INET;
addrTo.sin_port = PORT_NUMBER;
- int res = sendto(m_income, (const char*)mes, len, 0, (sockaddr*)&addrTo, sizeof(addrTo));
+ sendto(m_income, (const char*)mes, len, 0, (sockaddr*)&addrTo, sizeof(addrTo));
}
}
|