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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
11d6c967
Commit
11d6c967
authored
Nov 04, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
c01c7141
48040f77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mysys/base64.c
mysys/base64.c
+4
-3
No files found.
mysys/base64.c
View file @
11d6c967
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <base64.h>
#include <base64.h>
#include <m_string.h> /
/ strchr()
#include <m_string.h>
/
* strchr() */
#ifndef MAIN
#ifndef MAIN
...
@@ -134,7 +134,8 @@ base64_decode(const char *src, size_t size, void *dst)
...
@@ -134,7 +134,8 @@ base64_decode(const char *src, size_t size, void *dst)
{
{
char
b
[
3
];
char
b
[
3
];
size_t
i
=
0
;
size_t
i
=
0
;
unsigned
char
*
d
=
(
unsigned
char
*
)
dst
;
char
*
dst_base
=
(
char
*
)
dst
;
char
*
d
=
dst_base
;
size_t
j
;
size_t
j
;
while
(
i
<
size
)
while
(
i
<
size
)
...
@@ -193,7 +194,7 @@ base64_decode(const char *src, size_t size, void *dst)
...
@@ -193,7 +194,7 @@ base64_decode(const char *src, size_t size, void *dst)
{
{
return
-
1
;
return
-
1
;
}
}
return
d
-
(
unsigned
char
*
)
dst
;
return
d
-
dst_base
;
}
}
...
...
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