Commit 2a57bafe authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Constification


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2039 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent bcb5ae91
......@@ -41,6 +41,6 @@ extern struct varnish_stats *VSL_stats;
#define TCP_ADDRBUFSIZE 64
#define TCP_PORTBUFSIZE 16
void TCP_name(struct sockaddr *addr, unsigned l, char *abuf, unsigned alen, char *pbuf, unsigned plen);
void TCP_name(const struct sockaddr *addr, unsigned l, char *abuf, unsigned alen, char *pbuf, unsigned plen);
void TCP_myname(int sock, char *abuf, unsigned alen, char *pbuf, unsigned plen);
int TCP_filter_http(int sock);
......@@ -51,7 +51,7 @@
/*--------------------------------------------------------------------*/
void
TCP_name(struct sockaddr *addr, unsigned l, char *abuf, unsigned alen, char *pbuf, unsigned plen)
TCP_name(const struct sockaddr *addr, unsigned l, char *abuf, unsigned alen, char *pbuf, unsigned plen)
{
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment