From 955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 Nov 2011 03:16:39 +0300 Subject: Fix code style. --- src/utils/base64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/base64.cpp') 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( calloc(length + 1, 1)); - if (result == nullptr) + if (!result) return nullptr; /* run through the whole string, converting as we go */ -- cgit v1.2.3-70-g09d2