diff options
author | Ed Warnicke <eaw@cisco.com> | 2016-08-12 11:42:26 -0700 |
---|---|---|
committer | Ed Warnicke <eaw@cisco.com> | 2016-08-12 12:07:54 -0700 |
commit | 853e720fdd74b1ffb1168c1503cd97eb5b7f8b60 (patch) | |
tree | 6179a62bebb59afa409268a88f2b6d9d9a3702ad /vlib-api/vlibsocket | |
parent | c1be59d3eb92096f7403ad5b3c3e7cbd78ba0b96 (diff) |
VPP-237: indent fixes in prep for checkstyle
Ran indent *twice*
Change-Id: If9c18b81983bb859cc8dc3b415c67cbf318fc618
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'vlib-api/vlibsocket')
-rw-r--r-- | vlib-api/vlibsocket/sockclnt_vlib.c | 4 | ||||
-rw-r--r-- | vlib-api/vlibsocket/socksvr_vlib.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vlib-api/vlibsocket/sockclnt_vlib.c b/vlib-api/vlibsocket/sockclnt_vlib.c index e8d749c58d4..e16adfeb503 100644 --- a/vlib-api/vlibsocket/sockclnt_vlib.c +++ b/vlib-api/vlibsocket/sockclnt_vlib.c @@ -107,7 +107,7 @@ sockclnt_open_index (char *client_name, char *hostname, int port) if (connect (sockfd, (const void *) &serv_addr, sizeof (serv_addr)) < 0) { clib_unix_warning ("Connect failure to (%s, %d)", hostname, port); - close(sockfd); + close (sockfd); return ~0; } @@ -115,7 +115,7 @@ sockclnt_open_index (char *client_name, char *hostname, int port) if (rv < 0) { clib_unix_warning ("FIONBIO"); - close(sockfd); + close (sockfd); return ~0; } diff --git a/vlib-api/vlibsocket/socksvr_vlib.c b/vlib-api/vlibsocket/socksvr_vlib.c index 354c4f1c53d..dc8c63ebbaf 100644 --- a/vlib-api/vlibsocket/socksvr_vlib.c +++ b/vlib-api/vlibsocket/socksvr_vlib.c @@ -611,7 +611,7 @@ socksvr_api_init (vlib_main_t * vm) rv = listen (sockfd, 5); if (rv < 0) { - close(sockfd); + close (sockfd); return clib_error_return_unix (0, "listen"); } |