From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/Sdk/Base64.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/MRA/Sdk') diff --git a/protocols/MRA/Sdk/Base64.h b/protocols/MRA/Sdk/Base64.h index f371399a06..24d7605c47 100644 --- a/protocols/MRA/Sdk/Base64.h +++ b/protocols/MRA/Sdk/Base64.h @@ -271,8 +271,8 @@ __inline DWORD BASE64DecodeUnSafe(LPCVOID lpcSource,SIZE_T dwSourceSize,LPCVOID } dwDecodedSize=(lpbtDestination-((LPBYTE)lpcDestination)); - if((*((BYTE*)lpcSource+(dwSourceSize-1)))=='=') dwDecodedSize--; - if((*((BYTE*)lpcSource+(dwSourceSize-2)))=='=') dwDecodedSize--; + if ((*((BYTE*)lpcSource+(dwSourceSize-1)))=='=') dwDecodedSize--; + if ((*((BYTE*)lpcSource+(dwSourceSize-2)))=='=') dwDecodedSize--; #else @@ -329,8 +329,8 @@ __inline DWORD BASE64DecodeUnSafe(LPCVOID lpcSource,SIZE_T dwSourceSize,LPCVOID pop ebx // восстанавливаем содержимое регистра } - if((*((BYTE*)lpcSource+(dwSourceSize-1)))=='=') dwDecodedSize--; - if((*((BYTE*)lpcSource+(dwSourceSize-2)))=='=') dwDecodedSize--; + if ((*((BYTE*)lpcSource+(dwSourceSize-1)))=='=') dwDecodedSize--; + if ((*((BYTE*)lpcSource+(dwSourceSize-2)))=='=') dwDecodedSize--; #endif dwRetErrorCode=NO_ERROR; }else{// во входном буффере слишком мало данных -- cgit v1.2.3