* glib/dbus-dbus-gmain.c (dbus_g_bus_get): do not mangle NULL pointer
(bug #1540, Leonardo Boiko).
+2004-10-07 Olivier Andrieu <oliv__a@users.sourceforge.net>
+
+ * dbus/dbus-sysdeps.c (_dbus_file_get_contents): fix an incorrect
+ format string.
+
+ * glib/dbus-dbus-gmain.c (dbus_g_bus_get): do not mangle NULL
+ pointer (bug #1540, Leonardo Boiko).
+
2004-09-28 Jon Trowbridge <trow@ximian.com>
* mono/BusDriver.cs: Changed BusDriver struct to remove
{
dbus_set_error (error, DBUS_ERROR_FAILED,
"File size %lu of \"%s\" is too large.",
- filename_c, (unsigned long) sb.st_size);
+ (unsigned long) sb.st_size, filename_c);
close (fd);
return FALSE;
}
{
dbus_set_g_error (error, &derror);
dbus_error_free (&derror);
+ return NULL;
}
- else
- {
- /* does nothing if it's already been done */
- dbus_connection_setup_with_g_main (connection, NULL);
- }
+
+ /* does nothing if it's already been done */
+ dbus_connection_setup_with_g_main (connection, NULL);
return DBUS_G_CONNECTION_FROM_CONNECTION (connection);
}