From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- common/w32-afunix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/w32-afunix.c') diff --git a/common/w32-afunix.c b/common/w32-afunix.c index 920561b92..690e95176 100644 --- a/common/w32-afunix.c +++ b/common/w32-afunix.c @@ -105,20 +105,20 @@ _w32_sock_connect (int sockfd, struct sockaddr *addr, int addrlen) int ret; (void)addrlen; - + unaddr = (struct sockaddr_un *)addr; if (read_port_and_nonce (unaddr->sun_path, &port, nonce)) return -1; - + myaddr.sin_family = AF_INET; - myaddr.sin_port = htons (port); + myaddr.sin_port = htons (port); myaddr.sin_addr.s_addr = htonl (INADDR_LOOPBACK); - + /* Set return values. */ unaddr->sun_family = myaddr.sin_family; unaddr->sun_port = myaddr.sin_port; unaddr->sun_addr.s_addr = myaddr.sin_addr.s_addr; - + ret = connect (sockfd, (struct sockaddr *)&myaddr, sizeof myaddr); if (!ret) { -- cgit v1.2.3