summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra_proto.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-04 08:47:22 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-04 08:47:22 +0000
commitca27f47e6cdaef69d3ab504a1643f692e5ca3c47 (patch)
tree200f24446d5f4886e3e17011ec80150b284a412d /protocols/MRA/src/Mra_proto.cpp
parentdae2b9333862d151194249ca678c3e80d5ef9767 (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.cpp2
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)) {