Browse Source

* Fix compilation

Michaël Van Canneyt 8 months ago
parent
commit
7f682589c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/wasm-utils/demo/websocket/wasmwebsocketdemo.pp

+ 2 - 2
packages/wasm-utils/demo/websocket/wasmwebsocketdemo.pp

@@ -1,6 +1,6 @@
 library wasmwebsocketdemo;
 library wasmwebsocketdemo;
 
 
-uses fpjson, jsonparser, basenenc, sysutils, wasm.websocket.api, wasm.websocket.shared, wasm.websocket.objects;
+uses fpjson, jsonparser, basenenc, sysutils, wasm.logger.api, wasm.websocket.api, wasm.websocket.shared, wasm.websocket.objects;
 
 
 Type
 Type
 
 
@@ -100,7 +100,7 @@ Procedure TApplication.Run;
 
 
 begin
 begin
   FWS:=TWasmWebsocket.Create(Nil);
   FWS:=TWasmWebsocket.Create(Nil);
-  OnWebsocketLog:=@HandleWebsocketLog;
+  OnWasmLog:=@HandleWebsocketLog;
   WS.OnOpen:=@HandleOpen;
   WS.OnOpen:=@HandleOpen;
   WS.OnError:=@HandleError;
   WS.OnError:=@HandleError;
   WS.OnClose:=@HandleClose;
   WS.OnClose:=@HandleClose;