summaryrefslogtreecommitdiff
path: root/src/utils/base64.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 03:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 03:16:39 +0300
commit955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338 (patch)
tree8f5fc1cd758da4bda6a305ebcd95d3ccd719d98e /src/utils/base64.cpp
parent274737b8d9b46dfcf6fc696123e869bbf6adaaf6 (diff)
downloadmv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.gz
mv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.bz2
mv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.xz
mv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.zip
Fix code style.
Diffstat (limited to 'src/utils/base64.cpp')
-rw-r--r--src/utils/base64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp
index 1ea75322b..843a0b534 100644
--- a/src/utils/base64.cpp
+++ b/src/utils/base64.cpp
@@ -102,7 +102,7 @@ unsigned char *php3_base64_decode(const unsigned char *string,
unsigned char *result = static_cast<unsigned char *>(
calloc(length + 1, 1));
- if (result == nullptr)
+ if (!result)
return nullptr;
/* run through the whole string, converting as we go */