diff --git a/lib/kc3/0.1/socket/buf.kc3 b/lib/kc3/0.1/socket/buf.kc3
index 3162979..af8d02c 100644
--- a/lib/kc3/0.1/socket/buf.kc3
+++ b/lib/kc3/0.1/socket/buf.kc3
@@ -9,7 +9,7 @@ defmodule Socket.Buf do
def accept = cfn Socket.Buf "socket_buf_init_accept" (Result, Socket)
- def close = cfn Void "socket_buf_clean" (Socket.Buf)
+ def close = cfn Void "socket_buf_close" (Socket.Buf)
def connect = cfn Socket.Buf "socket_buf_init_connect" (Result, Str, Str)
diff --git a/test/http/03_client_server.kc3 b/test/http/03_client_server.kc3
index 4817cd0..bd0ef74 100644
--- a/test/http/03_client_server.kc3
+++ b/test/http/03_client_server.kc3
@@ -4,9 +4,9 @@ quote client = Socket.Buf.connect("localhost", "58000")
client = Socket.Buf.connect("localhost", "58000")
quote server_client = Socket.Buf.accept(server)
server_client = Socket.Buf.accept(server)
-quote Socket.Buf.close(client)
-Socket.Buf.close(client)
quote Socket.Buf.close(server_client)
Socket.Buf.close(server_client)
+quote Socket.Buf.close(client)
+Socket.Buf.close(client)
quote Socket.close(server)
Socket.close(server)