All pastes #458291 Raw Edit

Diff

public text v1 · immutable
#458291 ·published 2007-04-25 20:20 UTC
rendered paste body
Index: src/trackerd/tracker-dbus-files.c===================================================================--- src/trackerd/tracker-dbus-files.c	(revision 553)+++ src/trackerd/tracker-dbus-files.c	(working copy)@@ -168,6 +168,7 @@ tracker_dbus_method_files_create (DBusRec *rec) { 	DBConnection *db_con;+	DBusMessage  *reply; 	DBusError    dbus_error; 	char	     *uri, *name, *path, *mime, *service, *str_mtime, *str_size, *str_file_id; 	gboolean     is_dir;@@ -239,6 +240,12 @@ 	g_free (name); 	g_free (path); 	g_free (str_file_id);++	reply = dbus_message_new_method_return (rec->message);++	dbus_message_append_args (reply, DBUS_TYPE_INVALID);+	dbus_connection_send (rec->connection, reply, NULL);+	dbus_message_unref (reply); }