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
5473860f
Commit
5473860f
authored
Mar 31, 2014
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use acct as variable name
This triggers 'shadows global' build errors.
parent
4b9ec988
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cache_dir.c
bin/varnishd/cache/cache_dir.c
+4
-4
No files found.
bin/varnishd/cache/cache_dir.c
View file @
5473860f
...
...
@@ -40,7 +40,7 @@
/* Close a connection ------------------------------------------------*/
void
VDI_CloseFd
(
struct
vbc
**
vbp
,
const
struct
acct_bereq
*
acct
)
VDI_CloseFd
(
struct
vbc
**
vbp
,
const
struct
acct_bereq
*
acct
_bereq
)
{
struct
backend
*
bp
;
struct
vbc
*
vc
;
...
...
@@ -64,7 +64,7 @@ VDI_CloseFd(struct vbc **vbp, const struct acct_bereq *acct)
vc
->
vsl
=
NULL
;
VTCP_close
(
&
vc
->
fd
);
VBE_DropRefConn
(
bp
,
acct
);
VBE_DropRefConn
(
bp
,
acct
_bereq
);
vc
->
backend
=
NULL
;
VBE_ReleaseConn
(
vc
);
}
...
...
@@ -72,7 +72,7 @@ VDI_CloseFd(struct vbc **vbp, const struct acct_bereq *acct)
/* Recycle a connection ----------------------------------------------*/
void
VDI_RecycleFd
(
struct
vbc
**
vbp
,
const
struct
acct_bereq
*
acct
)
VDI_RecycleFd
(
struct
vbc
**
vbp
,
const
struct
acct_bereq
*
acct
_bereq
)
{
struct
backend
*
bp
;
struct
vbc
*
vc
;
...
...
@@ -95,7 +95,7 @@ VDI_RecycleFd(struct vbc **vbp, const struct acct_bereq *acct)
Lck_Lock
(
&
bp
->
mtx
);
VSC_C_main
->
backend_recycle
++
;
VTAILQ_INSERT_HEAD
(
&
bp
->
connlist
,
vc
,
list
);
VBE_DropRefLocked
(
bp
,
acct
);
VBE_DropRefLocked
(
bp
,
acct
_bereq
);
}
/* Get a connection --------------------------------------------------*/
...
...
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