@pmatilai commented on this pull request.


> +    char * dbcookie;
+
+    if (!state->logging) {
+       return RPMRC_OK;
+    }
+
+    msg = dbus_message_new_signal("/org/rpm/Transaction", // object name
+                                 "org.rpm.Transaction", // interface name
+                                 name); // name of the signal
+    if (NULL == msg) {
+       return RPMRC_FAIL;
+    }
+
+    dbcookie = rpmdbCookie(rpmtsGetRdb(ts));
+    if (!dbus_message_append_args(msg, DBUS_TYPE_STRING, &dbcookie)) {
+       return RPMRC_FAIL;

Probably should also add the transaction ID to these messages.

-- 
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_r438021380
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to