diff options
Diffstat (limited to 'protocols/MRA/Sdk/Base64.h')
-rw-r--r-- | protocols/MRA/Sdk/Base64.h | 8 |
1 files changed, 4 insertions, 4 deletions
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{// во входном буффере слишком мало данных
|