Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
5a490f05
Commit
5a490f05
authored
May 24, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the wrong test for user-configured Transient storage.
Spotted by: nav
parent
0fb00eb7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
stevedore.c
bin/varnishd/stevedore.c
+5
-5
No files found.
bin/varnishd/stevedore.c
View file @
5a490f05
...
@@ -509,12 +509,10 @@ STV_Config(const char *spec)
...
@@ -509,12 +509,10 @@ STV_Config(const char *spec)
void
void
STV_Config_Transient
(
void
)
STV_Config_Transient
(
void
)
{
{
const
struct
stevedore
*
stv
;
ASSERT_MGT
();
ASSERT_MGT
();
VTAILQ_FOREACH
(
stv
,
&
stevedores
,
list
)
if
(
!
strcmp
(
stv
->
ident
,
TRANSIENT_STORAGE
))
if
(
stv_transient
==
NULL
)
return
;
STV_Config
(
TRANSIENT_STORAGE
"=malloc"
);
STV_Config
(
TRANSIENT_STORAGE
"=malloc"
);
}
}
...
@@ -529,6 +527,8 @@ stv_cli_list(struct cli *cli, const char * const *av, void *priv)
...
@@ -529,6 +527,8 @@ stv_cli_list(struct cli *cli, const char * const *av, void *priv)
(
void
)
av
;
(
void
)
av
;
(
void
)
priv
;
(
void
)
priv
;
cli_out
(
cli
,
"Storage devices:
\n
"
);
cli_out
(
cli
,
"Storage devices:
\n
"
);
stv
=
stv_transient
;
cli_out
(
cli
,
"
\t
storage.%s = %s
\n
"
,
stv
->
ident
,
stv
->
name
);
VTAILQ_FOREACH
(
stv
,
&
stevedores
,
list
)
VTAILQ_FOREACH
(
stv
,
&
stevedores
,
list
)
cli_out
(
cli
,
"
\t
storage.%s = %s
\n
"
,
stv
->
ident
,
stv
->
name
);
cli_out
(
cli
,
"
\t
storage.%s = %s
\n
"
,
stv
->
ident
,
stv
->
name
);
}
}
...
...
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