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
5545e602
Commit
5545e602
authored
Apr 06, 2018
by
Poul-Henning Kamp
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
40625f51
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 @
5545e602
...
@@ -859,6 +859,7 @@ cmd_process(CMD_ARGS)
...
@@ -859,6 +859,7 @@ cmd_process(CMD_ARGS)
struct
process
*
p
,
*
p2
;
struct
process
*
p
,
*
p2
;
uintmax_t
u
,
v
;
uintmax_t
u
,
v
;
unsigned
lin
,
col
;
unsigned
lin
,
col
;
int
spec_set
=
0
;
(
void
)
priv
;
(
void
)
priv
;
(
void
)
cmd
;
(
void
)
cmd
;
...
@@ -1009,9 +1010,10 @@ cmd_process(CMD_ARGS)
...
@@ -1009,9 +1010,10 @@ cmd_process(CMD_ARGS)
av
++
;
av
++
;
continue
;
continue
;
}
}
if
(
**
av
==
'-'
)
if
(
**
av
==
'-'
||
spec_set
)
vtc_fatal
(
p
->
vl
,
"Unknown process argument: %s"
,
vtc_fatal
(
p
->
vl
,
"Unknown process argument: %s"
,
*
av
);
*
av
);
REPLACE
(
p
->
spec
,
*
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