Hi all, 

I'm trying to process the `sd_bus_error` set in a `sd_bus_message_handler_t` 
callback in my main loop but I can't seem to be able to do it properly...

Here is what I tried:
- In the callback I tried setting the error using `sd_bus_reply_method_error` 
and `sd_bus_error_set` 
- In the main loop, I tried accessing `reply` from `r = sd_bus_process(bus, 
&reply)` right after checking that `r > 0`.
- reply seems to always be null.

Is this the right way to do process the `sd_bus_error`?
Thanks, 

--
Liam Beguin
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to