[Rpm-maint] [rpm-software-management/rpm] Add dbus-announce plugin (#1255)
Florian Festi
notifications at github.com
Tue Feb 16 07:44:22 UTC 2021
@ffesti commented on this pull request.
> + fprintf(stderr, "Connection Error (%s)\n", err.message);
+ dbus_error_free(&err);
+ }
+ if (state->bus) {
+ rc = dbus_bus_request_name(state->bus, "org.rpm.announce",
+ DBUS_NAME_FLAG_REPLACE_EXISTING , &err);
+ }
+ if (dbus_error_is_set(&err)) {
+ //fprintf(stderr, "Name Error (%s)\n", err.message);
+ dbus_error_free(&err);
+ }
+ if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER != rc) {
+ dbus_connection_close(state->bus);
+ dbus_connection_unref(state->bus);
+ state->bus = NULL;
+ state->logging = 0;
Done
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1255#discussion_r576606951
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210215/6d4b577d/attachment.html>
More information about the Rpm-maint
mailing list