[gnome-packagekit/gnome-2-28] trivial: fix up the commit from master to fix the build



commit 8ea7f7c22cda6ef8401ac853a5ac06690ff96b92
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 28 10:06:07 2009 +0100

    trivial: fix up the commit from master to fix the build

 src/gpk-dbus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-dbus.c b/src/gpk-dbus.c
index f35e4c4..d3b9fe4 100644
--- a/src/gpk-dbus.c
+++ b/src/gpk-dbus.c
@@ -213,7 +213,7 @@ gpk_dbus_get_exec_for_sender (GpkDbus *dbus, const gchar *sender)
 	}
 
 	/* if command line contains (deleted) the original binary is invalid */
-	if (g_strstr_len (cmdline, "(deleted)") != NULL) {
+	if (g_strstr_len (cmdline, -1, "(deleted)") != NULL) {
 		g_free (cmdline);
 		cmdline = NULL;
 		goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]