Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
varnishevent3
Commits
4d5ccc2a
Commit
4d5ccc2a
authored
Jan 30, 2013
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishevent - bugfix (determining the i args when an n arg is set)
parent
237d5f1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
format.c
bin/varnishevent/format.c
+2
-0
varnishevent.c
bin/varnishevent/varnishevent.c
+2
-0
No files found.
bin/varnishevent/format.c
View file @
4d5ccc2a
...
...
@@ -746,6 +746,8 @@ FMT_Init(char *err)
void
FMT_Get_i_Arg
(
char
*
i_arg
)
{
i_arg
[
0
]
=
'\0'
;
for
(
int
i
=
0
;
i
<
MAX_VSL_TAG
;
i
++
)
{
char
tag
=
cformat
.
tags
[
i
]
|
bformat
.
tags
[
i
]
|
zformat
.
tags
[
i
];
if
(
tag
)
{
...
...
bin/varnishevent/varnishevent.c
View file @
4d5ccc2a
...
...
@@ -581,6 +581,8 @@ main(int argc, char *argv[])
LOG_Log0
(
LOG_INFO
,
"Reading default varnish instance"
);
else
LOG_Log
(
LOG_INFO
,
"Reading varnish instance %s"
,
scratch
);
scratch
[
0
]
=
'\0'
;
FMT_Get_i_Arg
(
scratch
);
assert
(
VSL_Arg
(
vd
,
'i'
,
scratch
)
>
0
);
LOG_Log
(
LOG_INFO
,
"Reading SHM tags: %s"
,
scratch
);
...
...
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