Commit 8e828916 authored by Colin Walters's avatar Colin Walters Committed by Colin Walters
Browse files

2004-11-12 Colin Walters <walters@redhat.com>

	* info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
	call to nmi_dbus_is_running too, not necessary anymore.
	* info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
	pick up exit().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@306 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 00f2e0d8
2004-11-12 Colin Walters <walters@redhat.com>
* info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
call to nmi_dbus_is_running too, not necessary anymore.
* info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
pick up exit().
2004-11-11 Colin Walters <walters@verbum.org>
* info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
......
......@@ -24,6 +24,7 @@
#include <dbus/dbus.h>
#include <dbus/dbus-glib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "NetworkManagerInfo.h"
......@@ -739,10 +740,6 @@ int nmi_dbus_service_init (DBusConnection *dbus_connection, NMIAppInfo *info)
DBusObjectPathVTable nmi_vtable = { &nmi_dbus_nmi_unregister_handler, &nmi_dbus_nmi_message_handler, NULL, NULL, NULL, NULL };
int acquisition;
/*return if we are already running in another instance*/
if (nmi_dbus_is_running (dbus_connection))
return (-1);
dbus_error_init (&dbus_error);
acquisition = dbus_bus_acquire_service (dbus_connection, NMI_DBUS_SERVICE,
DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment