summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-02 23:06:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-02 23:06:48 +0300
commit5acadea119fc2a89e944dc9431e298e5e9544770 (patch)
tree5199e73d8b924cb4ca3324f0f17a1a6696301d77 /src/utils
parentbf41736950d9e22be8b2b201dcd4833a50b26a99 (diff)
downloadmanaverse-5acadea119fc2a89e944dc9431e298e5e9544770.tar.gz
manaverse-5acadea119fc2a89e944dc9431e298e5e9544770.tar.bz2
manaverse-5acadea119fc2a89e944dc9431e298e5e9544770.tar.xz
manaverse-5acadea119fc2a89e944dc9431e298e5e9544770.zip
Fix some issues after automatic code checking.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/base64.cpp3
1 files changed, 2 insertions, 1 deletions
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,