Fix arguments for dispatch callback passthrough

This commit is contained in:
Robbert van der Helm
2020-03-05 17:20:27 +01:00
parent bea600a13a
commit f84557d0d0
+2 -2
View File
@@ -285,8 +285,8 @@ void passthrough_event(boost::asio::local::stream_protocol::socket& socket,
}
}
const intptr_t return_value = callback(plugin, event.opcode, event.option,
event.index, payload, event.option);
const intptr_t return_value = callback(plugin, event.opcode, event.index,
event.value, payload, event.option);
// Only write back the value from `payload` if we were passed an empty
// buffer to write into