[Rpm-maint] [rpm-software-management/rpm] Add dbus-announce plugin (#1255)
Panu Matilainen
notifications at github.com
Tue May 25 09:09:09 UTC 2021
@pmatilai commented on this pull request.
> + rpmts ts,
+ int res)
+{
+ struct dbus_announce_data * state = rpmPluginGetData(plugin);
+ DBusMessage* msg;
+ dbus_uint32_t serial = 0;
+ char * dbcookie;
+
+ if (!state->bus) {
+ return RPMRC_OK;
+ }
+
+ msg = dbus_message_new_signal("/org/rpm/Transaction", /* object name */
+ "org.rpm.Transaction", /* interface name */
+ name); /* signal name */
+ if (NULL == msg) {
Not that it matters technically but the comparison is usually written the other way around, so this kinda jumps at you...
--
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#pullrequestreview-667580573
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210525/12c03b17/attachment.html>
More information about the Rpm-maint
mailing list