Blob Blame History Raw
From fc9b6653a3f6ca4c1b27045292f7e09bdfb865ca Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Tue, 30 Oct 2012 16:09:17 +0000
Subject: [PATCH] Perform the simulation of spawned transactions correctly

Backends that were checking for 'simulate' were being sent the typo 'simluate'
by the daemon which was producing undefined and unexpected results.

Hopefully fixes: https://bugzilla.redhat.com/show_bug.cgi?id=866486
---
 lib/packagekit-glib2/pk-enum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/packagekit-glib2/pk-enum.c b/lib/packagekit-glib2/pk-enum.c
index bc08d7c..8f556a6 100644
--- a/lib/packagekit-glib2/pk-enum.c
+++ b/lib/packagekit-glib2/pk-enum.c
@@ -401,7 +401,7 @@ static const PkEnumMatch enum_upgrade_kind[] = {
 static const PkEnumMatch enum_transaction_flag[] = {
 	{PK_TRANSACTION_FLAG_ENUM_NONE,		"none"},	/* fall though value */
 	{PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED,	"only-trusted"},
-	{PK_TRANSACTION_FLAG_ENUM_SIMULATE,	"simluate"},
+	{PK_TRANSACTION_FLAG_ENUM_SIMULATE,	"simulate"},
 	{PK_TRANSACTION_FLAG_ENUM_ONLY_DOWNLOAD, "only-download"},
 	{0, NULL}
 };
-- 
1.7.12.1