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
c8b2279b
Commit
c8b2279b
authored
Jun 06, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A spot of FlexeLinting
parent
2c5dfd8d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
teken.c
bin/varnishtest/teken.c
+4
-0
teken_wcwidth.h
bin/varnishtest/teken_wcwidth.h
+1
-1
vtc_http2.c
bin/varnishtest/vtc_http2.c
+4
-2
No files found.
bin/varnishtest/teken.c
View file @
c8b2279b
...
...
@@ -457,6 +457,8 @@ teken_state_numbers(teken_t *t, teken_char_t c)
return
(
0
);
}
//lint -save -emacro((835),k,K) '|' has zero RHS
#define k TC_BLACK
#define b TC_BLUE
#define y TC_BROWN
...
...
@@ -642,6 +644,8 @@ static const teken_color_t teken_256to16tab[] = {
#undef R
#undef W
//lint -restore
teken_color_t
teken_256to8
(
teken_color_t
c
)
{
...
...
bin/varnishtest/teken_wcwidth.h
View file @
c8b2279b
...
...
@@ -104,7 +104,7 @@ static int teken_wcwidth(teken_char_t ucs)
/* if we arrive here, ucs is not a combining or C0/C1 control character */
return
1
+
(
ucs
>=
0x1100
&&
(
int
)(
ucs
>=
0x1100
&&
(
ucs
<=
0x115f
||
/* Hangul Jamo init. consonants */
ucs
==
0x2329
||
ucs
==
0x232a
||
(
ucs
>=
0x2e80
&&
ucs
<=
0xa4cf
&&
...
...
bin/varnishtest/vtc_http2.c
View file @
c8b2279b
...
...
@@ -77,6 +77,7 @@ enum h2_type {
TYPE_MAX
};
//lint -save -e849 Same enum value
enum
{
ACK
=
0x1
,
END_STREAM
=
0x1
,
...
...
@@ -84,6 +85,7 @@ enum {
END_HEADERS
=
0x4
,
PRIORITY
=
0x20
,
};
//lint -restore
struct
stream
{
unsigned
magic
;
...
...
@@ -103,7 +105,7 @@ struct stream {
VTAILQ_HEAD
(,
frame
)
fq
;
char
*
body
;
int
bodylen
;
long
bodylen
;
struct
hpk_hdr
req
[
MAX_HDR
];
struct
hpk_hdr
resp
[
MAX_HDR
];
...
...
@@ -868,7 +870,7 @@ do { \
#define RETURN_BUFFED(val) \
do { \
snprintf(buf, 20, "%
d",
val); \
snprintf(buf, 20, "%
ld", (long)
val); \
return (buf); \
} while (0)
...
...
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