summaryrefslogtreecommitdiffstats
path: root/src/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/send.c b/src/send.c
index be5c390..32e3492 100644
--- a/src/send.c
+++ b/src/send.c
@@ -41,7 +41,7 @@ static inline void add_pktinfo(struct msghdr *msg, const fastd_peer_address_t *l
if (!local_addr)
return;
- struct cmsghdr *cmsg = (struct cmsghdr*)((char*)msg->msg_control + msg->msg_controllen);
+ struct cmsghdr *cmsg = (struct cmsghdr *)((char *)msg->msg_control + msg->msg_controllen);
#ifdef USE_PKTINFO
if (local_addr->sa.sa_family == AF_INET) {
@@ -94,12 +94,12 @@ static void send_type(const fastd_socket_t *sock, const fastd_peer_address_t *lo
switch (remote_addr->sa.sa_family) {
case AF_INET:
- msg.msg_name = (void*)&remote_addr->in;
+ msg.msg_name = (void *)&remote_addr->in;
msg.msg_namelen = sizeof(struct sockaddr_in);
break;
case AF_INET6:
- msg.msg_name = (void*)&remote_addr->in6;
+ msg.msg_name = (void *)&remote_addr->in6;
msg.msg_namelen = sizeof(struct sockaddr_in6);
break;
@@ -111,7 +111,7 @@ static void send_type(const fastd_socket_t *sock, const fastd_peer_address_t *lo
remote_addr6 = *remote_addr;
fastd_peer_address_widen(&remote_addr6);
- msg.msg_name = (void*)&remote_addr6.in6;
+ msg.msg_name = (void *)&remote_addr6.in6;
msg.msg_namelen = sizeof(struct sockaddr_in6);
}