summaryrefslogtreecommitdiffstats
path: root/vlib-api/vlibsocket/socksvr_vlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'vlib-api/vlibsocket/socksvr_vlib.c')
-rw-r--r--vlib-api/vlibsocket/socksvr_vlib.c2
1 files changed, 1 insertions, 1 deletions
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");
}