summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraAvatars.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-04 08:11:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-04 08:11:14 +0000
commit60404a7dc490b6f4a505ae23d23e277b49ad6d06 (patch)
tree288a5f2517bfe4fde82a548f36dbf42a1d0fe7e0 /protocols/MRA/src/MraAvatars.cpp
parentd8acc357113997aed7eaffe627b341d9895893e1 (diff)
further MRA cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5935 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraAvatars.cpp')
-rw-r--r--protocols/MRA/src/MraAvatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraAvatars.cpp b/protocols/MRA/src/MraAvatars.cpp
index 47a78d0fc0..3a6e37800a 100644
--- a/protocols/MRA/src/MraAvatars.cpp
+++ b/protocols/MRA/src/MraAvatars.cpp
@@ -445,7 +445,7 @@ DWORD MraAvatarsHttpTransaction(HANDLE m_hConnection, DWORD dwRequestType, LPCST
}
else if ( !_strnicmp(pnlhr->headers[i].szName, "Content-Length", 14)) {
if (pdwAvatarSize)
- *pdwAvatarSize = StrToUNum(pnlhr->headers[i].szValue, lstrlenA(pnlhr->headers[i].szValue));
+ *pdwAvatarSize = atol(pnlhr->headers[i].szValue);
}
else if ( !_strnicmp(pnlhr->headers[i].szName, "Last-Modified", 13)) {
if (pitLastModifiedTime)