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:
5d659bf
)
Allow retrieving static properties with byte values
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 5 Jan 2009 23:45:06 +0000
(
00:45
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 5 Jan 2009 23:45:06 +0000
(
00:45
+0100)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
03bb5f5
..
ba94705
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-1033,6
+1033,10
@@
gboolean connman_element_get_static_property(struct connman_element *element,
*((char **) value) = property->value;
found = TRUE;
break;
+ case DBUS_TYPE_BYTE:
+ memcpy(value, property->value, 1);
+ found = TRUE;
+ break;
}
break;
}