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
94414c2a
Commit
94414c2a
authored
Apr 18, 2019
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More signed/unsigned FlexeLinting
parent
aebfbe94
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
voptget.h
include/vapi/voptget.h
+1
-1
vsl.h
include/vapi/vsl.h
+1
-1
vsl.c
lib/libvarnishapi/vsl.c
+2
-2
vsl_cursor.c
lib/libvarnishapi/vsl_cursor.c
+1
-1
vsl_dispatch.c
lib/libvarnishapi/vsl_dispatch.c
+2
-2
No files found.
include/vapi/voptget.h
View file @
94414c2a
...
...
@@ -44,7 +44,7 @@ struct vopt_list {
struct
vopt_spec
{
const
struct
vopt_list
*
vopt_list
;
unsigned
vopt_list_n
;
int
vopt_list_n
;
const
char
*
vopt_optstring
;
const
char
*
vopt_synopsis
;
const
char
**
vopt_usage
;
...
...
include/vapi/vsl.h
View file @
94414c2a
...
...
@@ -109,7 +109,7 @@ enum VSL_reason_e {
};
struct
VSL_transaction
{
unsigned
level
;
int
level
;
uint32_t
vxid
;
uint32_t
vxid_parent
;
enum
VSL_transaction_e
type
;
...
...
lib/libvarnishapi/vsl.c
View file @
94414c2a
...
...
@@ -363,7 +363,7 @@ VSL_PrintTransactions(struct VSL_data *vsl, struct VSL_transaction * const pt[],
if
(
t
->
level
)
{
/* Print header */
if
(
t
->
level
>
3
)
VSL_PRINT
(
fo
,
"*%1.1
u
* "
,
t
->
level
);
VSL_PRINT
(
fo
,
"*%1.1
d
* "
,
t
->
level
);
else
VSL_PRINT
(
fo
,
"%-3.*s "
,
(
int
)(
t
->
level
),
"***"
);
...
...
@@ -385,7 +385,7 @@ VSL_PrintTransactions(struct VSL_data *vsl, struct VSL_transaction * const pt[],
if
(
!
VSL_Match
(
vsl
,
t
->
c
))
continue
;
if
(
t
->
level
>
3
)
VSL_PRINT
(
fo
,
"-%1.1
u
- "
,
t
->
level
);
VSL_PRINT
(
fo
,
"-%1.1
d
- "
,
t
->
level
);
else
if
(
t
->
level
)
VSL_PRINT
(
fo
,
"%-3.*s "
,
(
int
)(
t
->
level
),
"---"
);
...
...
lib/libvarnishapi/vsl_cursor.c
View file @
94414c2a
...
...
@@ -323,7 +323,7 @@ vslc_file_delete(const struct VSL_cursor *cursor)
/* Read n bytes from fd into buf */
static
ssize_t
vslc_file_readn
(
int
fd
,
void
*
buf
,
size_t
n
)
vslc_file_readn
(
int
fd
,
void
*
buf
,
s
s
ize_t
n
)
{
ssize_t
t
=
0
;
ssize_t
l
;
...
...
lib/libvarnishapi/vsl_dispatch.c
View file @
94414c2a
...
...
@@ -189,7 +189,7 @@ struct VSLQ {
struct
vtx_tree
tree
;
VTAILQ_HEAD
(,
vtx
)
ready
;
VTAILQ_HEAD
(,
vtx
)
incomplete
;
unsigned
n_outstanding
;
int
n_outstanding
;
struct
chunkhead
shmrefs
;
VTAILQ_HEAD
(,
vtx
)
cache
;
unsigned
n_cache
;
...
...
@@ -205,7 +205,7 @@ struct VSLQ {
struct
VSL_transaction
*
ptrans
[
2
];
struct
VSLC_ptr
start
;
ssize_t
len
;
size_t
offset
;
s
s
ize_t
offset
;
}
raw
;
};
...
...
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