Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
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
1
Merge Requests
1
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
varnishevent
Commits
638f502d
Commit
638f502d
authored
Mar 27, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init arg_t variables
Fixes
#2
parent
9e9e39f1
Pipeline
#434
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
test_format.c
src/test/test_format.c
+4
-3
No files found.
src/test/test_format.c
View file @
638f502d
...
...
@@ -134,6 +134,7 @@ static void
init_tx_arg
(
tx_t
*
tx
,
rec_node_t
node
[],
rec_node_t
*
nptr
[],
arg_t
*
args
)
{
init_tx
(
tx
,
node
,
nptr
);
memset
(
args
,
0
,
sizeof
(
*
args
));
args
->
name
=
NULL
;
args
->
tag
=
SLT__Bogus
;
}
...
...
@@ -891,7 +892,7 @@ static const char
rec_node_t
node
[
NTAGS
],
*
nptr
[
NTAGS
];
rec_t
rec_method
,
rec_host
,
rec_url
,
rec_proto
;
chunk_t
chunk_method
,
chunk_host
,
chunk_url
,
chunk_proto
;
arg_t
cargs
,
bargs
;
arg_t
cargs
=
{
0
},
bargs
=
{
0
}
;
char
*
str
;
size_t
len
;
...
...
@@ -1437,7 +1438,7 @@ static const char
*
test_format_VCL_disp
(
void
)
{
tx_t
tx
;
arg_t
args
;
arg_t
args
=
{
0
}
;
char
*
str
,
hitmiss
[]
=
"m"
,
handling
[]
=
"n"
;
size_t
len
;
...
...
@@ -1721,7 +1722,7 @@ static const char
*
test_format_p_vxid
(
void
)
{
tx_t
tx
;
arg_t
args
;
arg_t
args
=
{
0
}
;
char
*
str
;
size_t
len
;
...
...
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