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
3bb4641b
Commit
3bb4641b
authored
Mar 23, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexeLinting: Avoid cpp macro argument names inside strings
parent
8e779852
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
vtc.h
bin/varnishtest/vtc.h
+4
-4
vtc_http2.c
bin/varnishtest/vtc_http2.c
+4
-4
No files found.
bin/varnishtest/vtc.h
View file @
3bb4641b
...
...
@@ -41,13 +41,13 @@
#include "vqueue.h"
#include "vsb.h"
#define VTC_CHECK_NAME(vl, n
ame
, type, chr) \
#define VTC_CHECK_NAME(vl, n
m
, type, chr) \
do { \
AN(n
ame);
\
if (*(n
ame
) != chr) \
AN(n
m);
\
if (*(n
m
) != chr) \
vtc_fatal(vl, \
type " name must start with '%c' (got %s)", \
chr, n
ame
); \
chr, n
m
); \
} while (0)
struct
vtclog
;
...
...
bin/varnishtest/vtc_http2.c
View file @
3bb4641b
...
...
@@ -840,12 +840,12 @@ receive_frame(void *priv)
return
(
NULL
);
}
#define STRTOU32(n, s
, p, v, c)
\
#define STRTOU32(n, s
s, p, v, c)
\
do { \
n = strtoul(s, &p, 0); \
n = strtoul(s
s
, &p, 0); \
if (*p != '\0') \
vtc_fatal(v, "%s takes an integer as argument" \
"(found %s)", c, s); \
"(found %s)", c, s
s
); \
} while (0)
#define STRTOU32_CHECK(n, sp, p, v, c, l) \
...
...
@@ -2336,7 +2336,7 @@ cmd_rxpush(CMD_ARGS)
if (s->frame->type != TYPE_ ## upctype) \
vtc_fatal(vl, "Received frame of type %d " \
"is invalid for %s", \
s->frame->type, "rx
## lctype"
); \
s->frame->type, "rx
" #lctype
); \
}
/* SECTION: stream.spec.prio_rxprio rxprio
...
...
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