Commit 87d25ea2937626491d4ae68c68a2bec586311718

Thomas de Grivel 2024-08-08T13:37:33

typo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/test/http/07_event_echo.kc3 b/test/http/07_event_echo.kc3
index 0fe031e..eaea0b8 100644
--- a/test/http/07_event_echo.kc3
+++ b/test/http/07_event_echo.kc3
@@ -5,8 +5,8 @@ socket = Socket.listen("0.0.0.0", "57000")
 echo_client = fn (socket, events, client) do
   if List.has?(events, :read) && List.has(events, :write) do
     Buf.refill(client.buf_rw.r)
-    str = Buf.read_to_str(client.buf_rw.r);
-    Buf.write_str(client.buf_rw.w, str);
+    str = Buf.read_to_str(client.buf_rw.r)
+    Buf.write_str(client.buf_rw.w, str)
   end
 end
 acceptor = fn (server, events, void) do