projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8a2e1
)
Check that service is actually registered
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 21 Apr 2009 04:45:06 +0000
(
05:45
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 21 Apr 2009 04:45:06 +0000
(
05:45
+0100)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
d217441
..
b2d09a8
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-144,6
+144,9
@@
static void state_changed(struct connman_service *service)
DBusMessageIter entry;
const char *str;
+ if (service->path == NULL)
+ return;
+
str = state2string(service->state);
if (str == NULL)
return;