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
ffdeafe3
Commit
ffdeafe3
authored
Sep 04, 2017
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always initialise vd->dname
This was lost in commit
74328de8
. Fixes #2412.
parent
21030ab4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
vsm.c
lib/libvarnishapi/vsm.c
+9
-1
No files found.
lib/libvarnishapi/vsm.c
View file @
ffdeafe3
...
...
@@ -531,7 +531,7 @@ VSM_Attach(struct vsm *vd, int progress)
{
double
t0
;
unsigned
u
;
int
n
=
0
;
int
i
,
n
=
0
;
CHECK_OBJ_NOTNULL
(
vd
,
VSM_MAGIC
);
...
...
@@ -540,6 +540,14 @@ VSM_Attach(struct vsm *vd, int progress)
else
t0
=
VTIM_mono
()
+
vd
->
patience
;
if
(
vd
->
dname
==
NULL
)
{
/* Use default (hostname) */
i
=
VSM_Arg
(
vd
,
'n'
,
""
);
if
(
i
<
0
)
return
(
i
);
AN
(
vd
->
dname
);
}
AZ
(
vd
->
attached
);
while
(
1
)
{
u
=
VSM_Status
(
vd
);
...
...
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