summaryrefslogtreecommitdiff
path: root/lib/socket-util.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-08-30 00:24:53 -0700
committerJesse Gross <jesse@nicira.com>2010-08-30 13:23:08 -0700
commitd295e8e97acae13552a5b220d3fbcff8201064a2 (patch)
treeeb90646c3c927a62fd2f520eb5fcd602297b1a79 /lib/socket-util.c
parent90a249dc93ccabd398b64092121b07e5af2d8c2d (diff)
downloadopenvswitch-d295e8e97acae13552a5b220d3fbcff8201064a2.tar.gz
treewide: Remove trailing whitespace
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/socket-util.c')
-rw-r--r--lib/socket-util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/socket-util.c b/lib/socket-util.c
index 21d6b16df..961e00b4a 100644
--- a/lib/socket-util.c
+++ b/lib/socket-util.c
@@ -98,7 +98,7 @@ get_max_fds(void)
* address, into a numeric IP address in '*addr'. Returns 0 if successful,
* otherwise a positive errno value. */
int
-lookup_ip(const char *host_name, struct in_addr *addr)
+lookup_ip(const char *host_name, struct in_addr *addr)
{
if (!inet_aton(host_name, addr)) {
struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
@@ -111,7 +111,7 @@ lookup_ip(const char *host_name, struct in_addr *addr)
/* Returns the error condition associated with socket 'fd' and resets the
* socket's error status. */
int
-get_socket_error(int fd)
+get_socket_error(int fd)
{
int error;
socklen_t len = sizeof(error);
@@ -124,7 +124,7 @@ get_socket_error(int fd)
}
int
-check_connection_completion(int fd)
+check_connection_completion(int fd)
{
struct pollfd pfd;
int retval;