Fix filestoraged: s/event/event.type/. Can now exchange files.

dev
Philippe Pittoli 2023-02-10 11:54:34 +01:00
parent 0d1326a566
commit 0dde689056
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class FileStorage::Service < IPC
self.loop do |event|
begin
case event
case event.type
when LibIPC::EventType::Timer
Baguette::Log.debug "LibIPC::EventType::Timer" if @print_timer
@ -229,7 +229,7 @@ class FileStorage::Service < IPC
when LibIPC::EventType::MessageTx
Baguette::Log.debug "LibIPC::EventType::MessageTx: #{event.fd}"
else
Baguette::Log.warning "unhandled LibIPC event: #{event.class}"
Baguette::Log.warning "unhandled LibIPC event: #{event.type}"
end
rescue exception