Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
fa375cd5
Commit
fa375cd5
authored
Jun 06, 2018
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Jun 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More FlexeLintery
parent
25732821
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
varnishtop.c
bin/varnishtop/varnishtop.c
+3
-3
flint.lnt
flint.lnt
+2
-0
vut.c
lib/libvarnishapi/vut.c
+2
-1
No files found.
bin/varnishtop/varnishtop.c
View file @
fa375cd5
...
...
@@ -76,12 +76,12 @@ struct top {
double
count
;
};
static
floa
t
period
=
60
;
/* seconds */
static
in
t
period
=
60
;
/* seconds */
static
unsigned
ntop
;
static
pthread_mutex_t
mtx
=
PTHREAD_MUTEX_INITIALIZER
;
static
int
f_flag
=
0
;
static
unsigned
maxfieldlen
=
0
;
static
char
*
ident
;
static
c
onst
c
har
*
ident
;
static
volatile
sig_atomic_t
end_of_file
=
0
;
static
volatile
sig_atomic_t
quit
=
0
;
...
...
@@ -207,7 +207,7 @@ update(int p)
int
l
,
len
,
eof
;
double
t
=
0
;
static
time_t
last
=
0
;
static
unsigned
n
;
static
unsigned
n
=
0
;
const
char
*
q
;
time_t
now
;
...
...
flint.lnt
View file @
fa375cd5
...
...
@@ -139,6 +139,8 @@
// <vtree.h>
-emacro(801, VRB_*) // goto considered bad
-esym(534, *_VRB_REMOVE) // ignore retval
-esym(534, *_VRB_INSERT) // ignore retval
///////////////////////////////////////////////////////////////////////
// <vqueue.h>
...
...
lib/libvarnishapi/vut.c
View file @
fa375cd5
...
...
@@ -275,7 +275,8 @@ VUT_Setup(struct VUT *vut)
VUT_Error
(
vut
,
1
,
"Only one of -n and -r options may be used"
);
/* Create and validate the query expression */
vut
->
vslq
=
VSLQ_New
(
vut
->
vsl
,
NULL
,
vut
->
g_arg
,
vut
->
q_arg
);
vut
->
vslq
=
VSLQ_New
(
vut
->
vsl
,
NULL
,
(
enum
VSL_grouping_e
)
vut
->
g_arg
,
vut
->
q_arg
);
if
(
vut
->
vslq
==
NULL
)
VUT_Error
(
vut
,
1
,
"Query expression error:
\n
%s"
,
VSL_Error
(
vut
->
vsl
));
...
...
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