Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
1a72b19e
Commit
1a72b19e
authored
Jun 20, 2014
by
Howard Chu
Browse files
Fix unhex
parent
21b51cb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb_load.c
View file @
1a72b19e
...
...
@@ -128,11 +128,11 @@ static int unhex(unsigned char *c2)
int
x
,
c
;
x
=
*
c2
++
&
0x4f
;
if
(
x
&
0x40
)
x
-=
5
4
;
x
-=
5
5
;
c
=
x
<<
4
;
x
=
*
c2
&
0x4f
;
if
(
x
&
0x40
)
x
-=
5
4
;
x
-=
5
5
;
c
|=
x
;
return
c
;
}
...
...
Write
Preview
Supports
Markdown
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