Contents of /trunk/hal/patches/hal-0.5.10-fix-compiler-error-remove-braceright.patch
Parent Directory | Revision Log
Revision 597 -
(show annotations)
(download)
Mon May 19 19:05:19 2008 UTC (16 years, 4 months ago) by niro
File size: 926 byte(s)
Mon May 19 19:05:19 2008 UTC (16 years, 4 months ago) by niro
File size: 926 byte(s)
-gentoo patches
1 | From f2967a6da35aff6f4247b08c56ca76ed5e19a0db Mon Sep 17 00:00:00 2001 |
2 | From: Danny Kukawka <danny.kukawka@web.de> |
3 | Date: Mon, 26 Nov 2007 22:24:04 +0100 |
4 | Subject: [PATCH] fix compiler error, remove braceright |
5 | |
6 | Fixed compiler errror because of single braceright from commit |
7 | 26084ca9089d6d0b5c8952330244af70ddf58386. |
8 | --- |
9 | hald/hald_dbus.c | 3 ++- |
10 | 1 files changed, 2 insertions(+), 1 deletions(-) |
11 | |
12 | diff --git a/hald/hald_dbus.c b/hald/hald_dbus.c |
13 | index 091cc89..2498368 100644 |
14 | --- a/hald/hald_dbus.c |
15 | +++ b/hald/hald_dbus.c |
16 | @@ -5201,7 +5201,8 @@ local_server_message_handler (DBusConnection *connection, |
17 | } |
18 | } |
19 | |
20 | - g_hash_table_foreach_remove (singletons, (GHRFunc) singleton_remove_by_connection, connection); |
21 | + if (singletons) |
22 | + g_hash_table_foreach_remove (singletons, (GHRFunc) singleton_remove_by_connection, connection); |
23 | |
24 | dbus_connection_unref (connection); |
25 | return DBUS_HANDLER_RESULT_HANDLED; |
26 | -- |
27 | 1.5.3.7 |
28 |