projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62cf17c
)
Fixed comparison with "AutoConnect" in service
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Mon, 17 Jan 2011 21:45:45 +0000
(23:45 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 18 Jan 2011 12:36:59 +0000
(13:36 +0100)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
2476cbc
..
0ea1223
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1866,7
+1866,7
@@
static DBusMessage *set_property(DBusConnection *conn,
type = dbus_message_iter_get_arg_type(&value);
- if (g_str_
has_prefix
(name, "AutoConnect") == TRUE) {
+ if (g_str_
equal
(name, "AutoConnect") == TRUE) {
connman_bool_t autoconnect;
if (type != DBUS_TYPE_BOOLEAN)