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
5550d123
Commit
5550d123
authored
Apr 07, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make VSA_Get_Sockaddr() return a const void*, since we don't know
what sockaddr-hack it is destined for.
parent
2624c7eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vsa.h
include/vsa.h
+1
-1
vsa.c
lib/libvarnish/vsa.c
+1
-1
No files found.
include/vsa.h
View file @
5550d123
...
...
@@ -38,7 +38,7 @@ unsigned VSA_Port(const struct suckaddr *);
int
VSA_Compare
(
const
struct
suckaddr
*
,
const
struct
suckaddr
*
);
struct
suckaddr
*
VSA_Clone
(
const
struct
suckaddr
*
sua
);
const
struct
sockaddr
*
VSA_Get_Sockaddr
(
const
struct
suckaddr
*
,
socklen_t
*
sl
);
const
void
*
VSA_Get_Sockaddr
(
const
struct
suckaddr
*
,
socklen_t
*
sl
);
int
VSA_Get_Proto
(
const
struct
suckaddr
*
);
/*
...
...
lib/libvarnish/vsa.c
View file @
5550d123
...
...
@@ -265,7 +265,7 @@ VSA_Build(void *d, const void *s, unsigned sal)
return
(
NULL
);
}
const
struct
sockaddr
*
const
void
*
VSA_Get_Sockaddr
(
const
struct
suckaddr
*
sua
,
socklen_t
*
sl
)
{
...
...
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