Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobcode
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-blobcode
Commits
1b2e9060
Commit
1b2e9060
authored
Feb 01, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor tweak in hex_decode()
parent
cec12974
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
hex.c
src/hex.c
+3
-8
No files found.
src/hex.c
View file @
1b2e9060
...
...
@@ -70,17 +70,12 @@ static inline ssize_t
check
(
const
char
*
const
p
,
va_list
ap
)
{
ssize_t
len
=
0
;
const
char
*
next
;
va_list
ap2
;
if
(
p
==
vrt_magic_string_end
)
return
0
;
if
(
p
!=
NULL
&&
!
isxstr
(
p
,
&
len
))
return
-
1
;
va_copy
(
ap2
,
ap
);
while
((
next
=
va_arg
(
ap2
,
const
char
*
))
!=
vrt_magic_string_end
)
if
(
next
!=
NULL
&&
!
isxstr
(
next
,
&
len
))
{
for
(
const
char
*
s
=
p
;
s
!=
vrt_magic_string_end
;
s
=
va_arg
(
ap2
,
const
char
*
))
if
(
s
!=
NULL
&&
*
s
!=
'\0'
&&
!
isxstr
(
s
,
&
len
))
{
len
=
-
1
;
break
;
}
...
...
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