From 995d9bcf3ef85618ac6bc44e3b0543f9e357e661 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 29 Aug 2015 17:51:10 +0000 Subject: oops... some more 'hides' warnings git-svn-id: http://svn.miranda-ng.org/main/trunk@15100 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/oscar_filetransfer.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'protocols/IcqOscarJ/src/oscar_filetransfer.cpp') diff --git a/protocols/IcqOscarJ/src/oscar_filetransfer.cpp b/protocols/IcqOscarJ/src/oscar_filetransfer.cpp index 4367dadc88..6305536dcb 100644 --- a/protocols/IcqOscarJ/src/oscar_filetransfer.cpp +++ b/protocols/IcqOscarJ/src/oscar_filetransfer.cpp @@ -432,9 +432,9 @@ void CIcqProto::handleRecvServMsgOFT(BYTE *buf, size_t wLen, DWORD dwUin, char * return; } - BYTE* tBuf = tlv->pData; + BYTE *tBuf = tlv->pData; size_t tLen = tlv->wLen; - WORD wFlag; + WORD wFlag; unpackWord(&tBuf, &wFlag); // FT flag unpackWord(&tBuf, &ft->wFilesCount); @@ -488,9 +488,7 @@ void CIcqProto::handleRecvServMsgOFT(BYTE *buf, size_t wLen, DWORD dwUin, char * } } int bAdded; - MCONTACT hContact = HContactFromUID(dwUin, szUID, &bAdded); - - ft->hContact = hContact; + ft->hContact = HContactFromUID(dwUin, szUID, &bAdded); ft->fileId = -1; // Send chain event @@ -508,7 +506,7 @@ void CIcqProto::handleRecvServMsgOFT(BYTE *buf, size_t wLen, DWORD dwUin, char * pre.descr.t = mir_utf8decodeT(pszDescription); pre.files.t = &ptszFileName; pre.lParam = (LPARAM)ft; - ProtoChainRecvFile(hContact, &pre); + ProtoChainRecvFile(ft->hContact, &pre); mir_free(pre.descr.t); mir_free(ptszFileName); -- cgit v1.2.3