Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b03700f9
Commit
b03700f9
authored
Nov 02, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
50817d30
e7fd63bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mysys/base64.c
mysys/base64.c
+3
-3
No files found.
mysys/base64.c
View file @
b03700f9
...
...
@@ -134,7 +134,7 @@ base64_decode(const char *src, size_t size, void *dst)
{
char
b
[
3
];
size_t
i
=
0
;
void
*
d
=
dst
;
unsigned
char
*
d
=
(
unsigned
char
*
)
dst
;
size_t
j
;
while
(
i
<
size
)
...
...
@@ -186,14 +186,14 @@ base64_decode(const char *src, size_t size, void *dst)
b
[
2
]
=
(
c
>>
0
)
&
0xff
;
for
(
j
=
0
;
j
<
3
-
mark
;
j
++
)
*
(
char
*
)
d
++=
b
[
j
];
*
d
++=
b
[
j
];
}
if
(
i
!=
size
)
{
return
-
1
;
}
return
d
-
dst
;
return
d
-
(
unsigned
char
*
)
dst
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment