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
063be1b6
Commit
063be1b6
authored
Apr 25, 2017
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assert when an optarg is expected
parent
ab14ed43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vut.c
lib/libvarnishapi/vut.c
+5
-0
No files found.
lib/libvarnishapi/vut.c
View file @
063be1b6
...
...
@@ -153,6 +153,7 @@ VUT_Arg(int opt, const char *arg)
return
(
1
);
case
'g'
:
/* Grouping */
AN
(
arg
);
return
(
VUT_g_Arg
(
arg
));
case
'k'
:
/* Log transaction limit */
...
...
@@ -163,18 +164,22 @@ VUT_Arg(int opt, const char *arg)
return
(
1
);
case
'n'
:
/* Varnish instance name */
AN
(
arg
);
REPLACE
(
VUT
.
n_arg
,
arg
);
return
(
1
);
case
'P'
:
/* PID file */
AN
(
arg
);
REPLACE
(
VUT
.
P_arg
,
arg
);
return
(
1
);
case
'q'
:
/* Query to use */
AN
(
arg
);
REPLACE
(
VUT
.
q_arg
,
arg
);
return
(
1
);
case
'r'
:
/* Binary file input */
AN
(
arg
);
REPLACE
(
VUT
.
r_arg
,
arg
);
return
(
1
);
case
't'
:
...
...
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