From 5acadea119fc2a89e944dc9431e298e5e9544770 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Dec 2011 23:06:48 +0300 Subject: Fix some issues after automatic code checking. --- src/utils/base64.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils/base64.cpp') diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp index 843a0b534..24a3a58e3 100644 --- a/src/utils/base64.cpp +++ b/src/utils/base64.cpp @@ -108,7 +108,8 @@ unsigned char *php3_base64_decode(const unsigned char *string, /* run through the whole string, converting as we go */ while ((ch = *current++) != '\0') { - if (ch == base64_pad) break; + if (ch == base64_pad) + break; /* When Base64 gets POSTed, all pluses are interpreted as spaces. This line changes them back. It's not exactly the Base64 spec, -- cgit v1.2.3-70-g09d2