summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
commit485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch)
treece74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/utils
parent33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff)
downloadmanaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz
manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2
manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz
manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip
Fix code style.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/base64.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp
index 62ba76f21..5a87f517c 100644
--- a/src/utils/base64.cpp
+++ b/src/utils/base64.cpp
@@ -102,7 +102,10 @@ unsigned char *php3_base64_decode(const unsigned char *restrict const string,
int *restrict const ret_length)
{
const unsigned char *current = string;
- int ch, i = 0, j = 0, k;
+ int ch;
+ int i = 0;
+ int j = 0;
+ int k;
unsigned char *result = static_cast<unsigned char *>(
calloc(length + 1, 1));