Commit 454a2b40 authored by Pavel Tvrdík's avatar Pavel Tvrdík

Socktest: purge trailing whitespaces

parent 2018f691
......@@ -94,7 +94,7 @@ static inline inetaddr get_recv_addr(void)
static inline int get_recv_iface(void)
{ return recv_if ? recv_if->sdl_index : -1; }
static inline int get_recv_ttl(void)
static inline int get_recv_ttl(void)
{ return recv_ttl ? *recv_ttl : -1; }
......
......@@ -45,7 +45,7 @@ void
parse_rx_cmsgs(struct msghdr *msg)
{
struct cmsghdr *cm;
recv_pi = NULL;
recv_ttl = NULL;
......
......@@ -58,12 +58,12 @@ parse_rx_cmsgs(struct msghdr *msg)
}
static inline inetaddr get_recv_addr(void)
{ return recv_pi ? recv_pi->ipi6_addr : INET_ANY; }
{ return recv_pi ? recv_pi->ipi6_addr : INET_ANY; }
static inline int get_recv_iface(void)
{ return recv_pi ? recv_pi->ipi6_ifindex : -1; }
{ return recv_pi ? recv_pi->ipi6_ifindex : -1; }
static inline int get_recv_ttl(void)
static inline int get_recv_ttl(void)
{ return recv_hlim ? *recv_hlim : -1; }
......
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