[gnome-packagekit/glib2: 40/79] Fix up the previous patch



commit b74a9b590b1bcc5eefec60f3f42372e0e121d597
Author: Richard Hughes <richard hughsie com>
Date:   Wed Sep 23 13:52:33 2009 +0100

    Fix up the previous patch

 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 373781e..7973a23 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]