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
43f1ca56
Commit
43f1ca56
authored
Apr 06, 2018
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Specifying the process->spec twice in one line is
almost certainly an error, so make it one.
parent
f3c8cd4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vtc_process.c
bin/varnishtest/vtc_process.c
+3
-1
No files found.
bin/varnishtest/vtc_process.c
View file @
43f1ca56
...
...
@@ -859,6 +859,7 @@ cmd_process(CMD_ARGS)
struct
process
*
p
,
*
p2
;
uintmax_t
u
,
v
;
unsigned
lin
,
col
;
int
spec_set
=
0
;
(
void
)
priv
;
(
void
)
cmd
;
...
...
@@ -1009,9 +1010,10 @@ cmd_process(CMD_ARGS)
av
++
;
continue
;
}
if
(
**
av
==
'-'
)
if
(
**
av
==
'-'
||
spec_set
)
vtc_fatal
(
p
->
vl
,
"Unknown process argument: %s"
,
*
av
);
REPLACE
(
p
->
spec
,
*
av
);
spec_set
=
1
;
}
}
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