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
2262b6a9
Commit
2262b6a9
authored
May 15, 2013
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename a variable to get rid of 'shadows global declaration' warning
parent
f02f714a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+4
-4
No files found.
bin/varnishstat/varnishstat_curses.c
View file @
2262b6a9
...
...
@@ -841,7 +841,7 @@ void
do_curses
(
struct
VSM_data
*
vd
,
int
delay
)
{
struct
pollfd
pollfd
;
long
t
imeout
;
long
t
;
int
ch
;
double
now
;
struct
VSM_fantom
f_main
,
f_mgt
,
f_iter
;
...
...
@@ -885,9 +885,9 @@ do_curses(struct VSM_data *vd, int delay)
if
(
redraw
)
draw_screen
();
t
imeout
=
(
t_sample
+
interval
-
now
)
*
1000
;
if
(
t
imeout
>
0
)
(
void
)
poll
(
&
pollfd
,
1
,
t
imeout
);
t
=
(
t_sample
+
interval
-
now
)
*
1000
;
if
(
t
>
0
)
(
void
)
poll
(
&
pollfd
,
1
,
t
);
switch
(
ch
=
wgetch
(
w_status
))
{
case
ERR
:
...
...
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