diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-04 08:47:22 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-04 08:47:22 +0000 |
commit | ca27f47e6cdaef69d3ab504a1643f692e5ca3c47 (patch) | |
tree | 200f24446d5f4886e3e17011ec80150b284a412d /protocols/MRA/src/Mra_proto.cpp | |
parent | dae2b9333862d151194249ca678c3e80d5ef9767 (diff) |
small cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra_proto.cpp')
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 73b9d683f2..052cb10e8d 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -512,7 +512,7 @@ bool CMraProto::CmdUserInfo(BinBuffer &buf) int lpszDelimiter = szString.Find(':');
if (lpszDelimiter != -1) {
CMStringA szAddr(szString, lpszDelimiter);
- setDword("IP", HTONL(inet_addr(szAddr.c_str())));
+ setDword("IP", ntohl(inet_addr(szAddr.c_str())));
}
}
else if ( !_strnicmp(szString, "connect.xml", 11)) {
|