summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra_functions.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_functions.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_functions.cpp')
-rw-r--r--protocols/MRA/src/Mra_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp
index b388e7af40..8e03a93c70 100644
--- a/protocols/MRA/src/Mra_functions.cpp
+++ b/protocols/MRA/src/Mra_functions.cpp
@@ -155,10 +155,10 @@ void CMraProto::MraAddrListStoreToContact(HANDLE hContact, MRA_ADDR_LIST *pmalAd
return;
setDword(hContact, "OldIP", getDword(hContact, "IP", 0));
- setDword(hContact, "IP", HTONL(pmalAddrList->pMailAddress[0].dwAddr));
+ setDword(hContact, "IP", ntohl(pmalAddrList->pMailAddress[0].dwAddr));
if (pmalAddrList->dwAddrCount > 1) {
setDword(hContact, "OldRealIP", getDword(hContact, "RealIP", 0));
- setDword(hContact, "RealIP", HTONL(pmalAddrList->pMailAddress[1].dwAddr));
+ setDword(hContact, "RealIP", ntohl(pmalAddrList->pMailAddress[1].dwAddr));
}
}