From dab7e4adec12c021b143635dee9d88f13d58ca95 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Sat, 15 Jun 2019 23:45:02 +0200 Subject: [PATCH] Bugfix. --- src/ipc.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.cr b/src/ipc.cr index 7db1ebf..6f94d17 100644 --- a/src/ipc.cr +++ b/src/ipc.cr @@ -241,7 +241,7 @@ class IPC::Connection raise Exception.new "error reading a message: #{m}" end - IPC::Message.new message.type, message.user_type, String.new(message.payload) + IPC::Message.new pointerof(message) end def close