projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebae11f
)
Make sure to always trigger disconnect on users request
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 17 Jul 2009 17:25:53 +0000
(19:25 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 17 Jul 2009 17:25:53 +0000
(19:25 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
fc2ff87
..
b389b1c
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-626,12
+626,9
@@
static DBusMessage *disconnect_service(DBusConnection *conn,
DBG("service %p", service);
- if (service->pending != NULL)
{
+ if (service->pending != NULL)
reply_pending(service, ECONNABORTED);
- return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
- }
-
service->ignore = TRUE;
err = __connman_service_disconnect(service);