diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/CryptoPP/base16.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/base16.cpp')
-rw-r--r-- | plugins/CryptoPP/base16.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CryptoPP/base16.cpp b/plugins/CryptoPP/base16.cpp index b8c813eff9..db838e498d 100644 --- a/plugins/CryptoPP/base16.cpp +++ b/plugins/CryptoPP/base16.cpp @@ -24,7 +24,7 @@ char *base16decode(const char *inBuffer, int *count) { BYTE *outBufferPtr = (BYTE *) outBuffer;
bool big_endian = false;
- if(*inBuffer == '0' && *(inBuffer+1) == 'x') {
+ if (*inBuffer == '0' && *(inBuffer+1) == 'x') {
inBuffer += *count;
big_endian = true;
*count -= 2;
@@ -39,7 +39,7 @@ char *base16decode(const char *inBuffer, int *count) { c0 = decode16(*inBuffer++);
c1 = decode16(*inBuffer++);
}
- if((c0 | c1) == BERR) {
+ if ((c0 | c1) == BERR) {
free(outBuffer);
*count = 0;
return(NULL);
|